From 883b878c963206f42dc217ec162e8cefdd6bfcda Mon Sep 17 00:00:00 2001 From: Jamie Li Date: Wed, 8 May 2024 13:30:42 -0700 Subject: [PATCH] Clean up --- api-schema/build.gradle.kts | 5 ----- core/build.gradle.kts | 10 +--------- essential-tests/build.gradle.kts | 8 -------- extended-tests/build.gradle.kts | 9 +-------- platform/build.gradle.kts | 6 ------ 5 files changed, 2 insertions(+), 36 deletions(-) diff --git a/api-schema/build.gradle.kts b/api-schema/build.gradle.kts index 480ec9ce45..d52fabf611 100644 --- a/api-schema/build.gradle.kts +++ b/api-schema/build.gradle.kts @@ -14,9 +14,4 @@ dependencies { annotationProcessor(libs.lombok) } -apply(from = "$rootDir/scripts.gradle.kts") -@Suppress("UNCHECKED_CAST") -val enableTestConcurrency = extra["enableTestConcurrency"] as (Test) -> Unit -// Disable for test stability -//tasks.test { enableTestConcurrency(this) } diff --git a/core/build.gradle.kts b/core/build.gradle.kts index 8d1e3a3ea7..25a9c6bb42 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -118,12 +118,4 @@ publishing { apply() configure { sign(publishing.publications) } -} - -apply(from = "$rootDir/scripts.gradle.kts") - -@Suppress("UNCHECKED_CAST") -val enableTestConcurrency = extra["enableTestConcurrency"] as (Test) -> Unit - -// Disable for test stability -//tasks.test { enableTestConcurrency(this) } +} \ No newline at end of file diff --git a/essential-tests/build.gradle.kts b/essential-tests/build.gradle.kts index 22428d6390..5e1c70a485 100644 --- a/essential-tests/build.gradle.kts +++ b/essential-tests/build.gradle.kts @@ -35,15 +35,7 @@ dependencies { tasks { bootJar { enabled = false } } -// The following is to enable test concurrency -apply(from = "$rootDir/scripts.gradle.kts") -@Suppress("UNCHECKED_CAST") -val enableTestConcurrency = extra["enableTestConcurrency"] as (Test) -> Unit - tasks.test { - // Disable for test stability - - // enableTestConcurrency(this) exclude("**/org/stellar/anchor/platform/*Test.class") exclude("**/org/stellar/anchor/platform/integrationtest/**") exclude("**/org/stellar/anchor/platform/e2etest/**") diff --git a/extended-tests/build.gradle.kts b/extended-tests/build.gradle.kts index 7575f2182f..c1cebf6548 100644 --- a/extended-tests/build.gradle.kts +++ b/extended-tests/build.gradle.kts @@ -28,11 +28,4 @@ dependencies { tasks { bootJar { enabled = false } } -// The following is to enable test concurrency -apply(from = "$rootDir/scripts.gradle.kts") - -@Suppress("UNCHECKED_CAST") -val enableTestConcurrency = extra["enableTestConcurrency"] as (Test) -> Unit - -// Disable for test stability -//tasks.test { exclude("**/org/stellar/anchor/platform/extendedtest/**") } +tasks.test { exclude("**/org/stellar/anchor/platform/extendedtest/**") } diff --git a/platform/build.gradle.kts b/platform/build.gradle.kts index dfe1e2164b..9007a25007 100644 --- a/platform/build.gradle.kts +++ b/platform/build.gradle.kts @@ -56,13 +56,7 @@ dependencies { testImplementation(libs.okhttp3.tls) } -apply(from = "$rootDir/scripts.gradle.kts") -@Suppress("UNCHECKED_CAST") -val enableTestConcurrency = extra["enableTestConcurrency"] as (Test) -> Unit - tasks.test { - // Disable for test stability - // enableTestConcurrency(this) testLogging { exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL events = setOf(org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED)