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 c2e1625 commit 12e4fffCopy full SHA for 12e4fff
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
* `-Pslot=x/y`, and limiting tasks to those affected by git changes with
11
* `-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