diff --git a/bootstrap/build.gradle b/bootstrap/build.gradle index 87701976..54bcc82d 100644 --- a/bootstrap/build.gradle +++ b/bootstrap/build.gradle @@ -29,5 +29,4 @@ dependencies { test { useJUnitPlatform() - systemProperty "encryption-key", project.getProperties().get("encryption-key") } diff --git a/build.gradle b/build.gradle index a2f93f36..3997bbe0 100644 --- a/build.gradle +++ b/build.gradle @@ -39,6 +39,8 @@ subprojects { tasks.named('test') { useJUnitPlatform() + jvmArgs '-Xshare:off' + systemProperty "encryption-key", project.getProperties().get("encryption-key") } } diff --git a/core-application/build.gradle b/core-application/build.gradle index 662033f1..5887e1f5 100644 --- a/core-application/build.gradle +++ b/core-application/build.gradle @@ -33,10 +33,6 @@ dependencies { testImplementation(testFixtures(project(":core-domain"))) } -test { - useJUnitPlatform() -} - bootJar { enabled = false } diff --git a/core-domain/build.gradle b/core-domain/build.gradle index 2c6b9bb8..091e19f2 100644 --- a/core-domain/build.gradle +++ b/core-domain/build.gradle @@ -19,10 +19,6 @@ dependencies { testFixturesAnnotationProcessor 'org.projectlombok:lombok' } -test { - useJUnitPlatform() -} - bootJar { enabled = false } diff --git a/in-adapter-api/build.gradle b/in-adapter-api/build.gradle index 690c0176..37c0c256 100644 --- a/in-adapter-api/build.gradle +++ b/in-adapter-api/build.gradle @@ -21,10 +21,6 @@ dependencies { testImplementation 'org.springframework.boot:spring-boot-starter-test' } -test { - useJUnitPlatform() -} - bootJar { enabled = false } diff --git a/out-adapter-persistence-jpa/build.gradle b/out-adapter-persistence-jpa/build.gradle index d527bed6..a0cf62ea 100644 --- a/out-adapter-persistence-jpa/build.gradle +++ b/out-adapter-persistence-jpa/build.gradle @@ -23,10 +23,6 @@ dependencies { testImplementation 'org.springframework.boot:spring-boot-starter-test' } -test { - useJUnitPlatform() -} - bootJar { enabled = false } diff --git a/security/build.gradle b/security/build.gradle index 5534d629..c439f742 100644 --- a/security/build.gradle +++ b/security/build.gradle @@ -22,10 +22,6 @@ dependencies { testImplementation 'org.springframework.boot:spring-boot-starter-test' } -test { - useJUnitPlatform() -} - bootJar { enabled = false }