Commit 1f72887
Convert test-published-dependencies to Gradle Kotlin DSL (#11445)
refactor(build): convert test-published-dependencies to Gradle Kotlin DSL
Convert the test-published-dependencies build scripts from Groovy to
Kotlin DSL: root settings/build, plus the four subprojects
(all-deps-exist, ot-pulls-in-api, ot-is-shaded, agent-logs-on-java-7).
In ot-is-shaded, the CheckJarContentsTask is rewritten with managed
Property/ListProperty inputs and idiomatic Kotlin.
Verified locally by reproducing the GitLab `test_published_artifacts`
job: publishToMavenLocal then `./gradlew check` in the subproject. All
modules pass; the Java 7 sub-test of agent-logs-on-java-7 is skipped
locally only because no JDK 7 build exists for arm64 macOS.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Merge branch 'master' into bdu/migrate-test-published-artifacts-to-kotlin-dsl
fix(test-published-dependencies): declare JUnit launcher
Update the published dependency test builds to use Kotlin DSL task
accessors and provider-backed configuration resolution.
Add junit-platform-launcher alongside the JUnit BOM update because the
missing launcher caused test execution problems at least on Gradle 9.5.
Fixed the size assert, replaced by a simpler if statement.
Co-authored-by: devflow.devflow-routing-intake <devflow.devflow-routing-intake@kubernetes.us1.ddbuild.io>1 parent de65673 commit 1f72887
12 files changed
Lines changed: 257 additions & 237 deletions
File tree
- test-published-dependencies
- agent-logs-on-java-7
- all-deps-exist
- ot-is-shaded
- ot-pulls-in-api
Lines changed: 0 additions & 50 deletions
This file was deleted.
Lines changed: 80 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 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 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
This file was deleted.
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
This file was deleted.
0 commit comments