We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 472b505 commit d2a0af6Copy full SHA for d2a0af6
buildSrc/src/main/kotlin/dd-trace-java.ci-jobs.gradle.kts
@@ -1,6 +1,7 @@
1
import datadog.gradle.plugin.ci.isInSelectedSlot
2
import org.gradle.api.tasks.testing.Test
3
import java.io.File
4
+import kotlin.math.abs
5
6
/*
7
* This plugin defines a set of tasks to be used in CI.
@@ -9,6 +10,11 @@ import java.io.File
9
10
* `-PtaskPartitionCount` and `-PtaskPartition`, and limiting tasks to those
11
* affected by git changes with `-PgitBaseRef`.
12
*/
13
+
14
+if (project != rootProject) {
15
+ logger.error("This plugin has been applied on a non-root project: ${project.path}")
16
+}
17
18
allprojects {
19
// Enable tests only on the selected slot (if -Pslot=n/t is provided)
20
tasks.withType<Test>().configureEach {
0 commit comments