Commit 1b61faa
authored
Remove the warning on kotlin plugin warning (#9711)
* fix: Kotlin plugin warning
Build scripts use the `buildscript` way to configure the project's plugins, which is not recommended anymore since quite a few versions in gradle.
```
The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build.
This might happen in subprojects that apply the Kotlin plugins with the Gradle 'plugins { ... }' DSL if they specify explicit versions, even if the versions are equal.
Please add the Kotlin plugin to the common parent project or the root project, then remove the versions in the subprojects.
If the parent project does not need the plugin, add 'apply false' to the plugin line.
See: https://docs.gradle.org/current/userguide/plugins.html#sec:subprojects_plugins_dsl
The Kotlin plugin was loaded in the following projects: ':dd-java-agent:agent-ci-visibility', ':dd-java-agent:agent-llmobs'
```
* style: make scalafmt happy
* style: make google-java-format happy
* fix: Exclude generated files and more generally anything in the build directory
* fix: Single kotlin plugin version but configure each projects1 parent dbf4b9d commit 1b61faa
File tree
51 files changed
+818
-669
lines changed- buildSrc/src/main/groovy
- dd-java-agent
- agent-ci-visibility
- agent-llmobs
- benchmark-integration/play-perftest/app/controllers
- instrumentation
- akka
- akka-actor-2.5/src/akka23Test/scala
- akka-http
- akka-http-10.0/src
- baseTest/scala
- latestDepTest/scala
- akka-http-10.6/src/test/scala
- finatra-2.9/src
- latestDepTest/scala
- test/scala
- junit/junit-4.10
- kotlin-coroutines
- pekko
- pekko-concurrent-1.0/src/test/scala
- pekko-http-1.0/src
- baseTest/scala
- latestDepTest/scala
- play
- play-2.3/src/test/scala/datadog/trace/instrumentation/play23/test/server
- play-2.4/src
- routeGenerator/scala/generator
- test/scala/datadog/trace/instrumentation/play25
- play-2.6/src
- latestDepTest/scala/datadog/trace/instrumentation/play26/server/latestdep
- routeGenerator/scala/generator
- scala-concurrent/src
- latestDepTest/scala
- test/scala
- scalatest/src/test/scala/org/example
- scala/src/test/scala/foo/bar
- slick/src/test/scala
- weaver/src
- main/scala/datadog/trace/instrumentation/weaver
- test/scala/org/example
- zio/zio-2.0/src/test/scala
- dd-smoke-tests/iast-propagation
- gradle
- spotless
- test-published-dependencies
- agent-logs-on-java-7/src
- main/java/test/published/dependencies
- test/java
- all-deps-exist/src/main/java/test/published/dependencies
- ot-pulls-in-api/src
- main/java/test/published/dependencies
- test/java
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
51 files changed
+818
-669
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 3 | | |
28 | 4 | | |
| 5 | + | |
29 | 6 | | |
30 | 7 | | |
31 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 2 | + | |
| 3 | + | |
12 | 4 | | |
13 | 5 | | |
14 | 6 | | |
| 7 | + | |
15 | 8 | | |
16 | 9 | | |
17 | 10 | | |
18 | 11 | | |
19 | 12 | | |
20 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
| 13 | + | |
15 | 14 | | |
16 | | - | |
17 | | - | |
| 15 | + | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
| |||
Lines changed: 16 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
95 | 94 | | |
96 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
97 | 101 | | |
98 | | - | |
99 | 102 | | |
100 | 103 | | |
101 | 104 | | |
| |||
0 commit comments