Skip to content

Commit e17332c

Browse files
committed
Remove Spring Boot 2.x plugin which is not compatible with Gradle 9
1 parent 99e6e57 commit e17332c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

gcp-auth-extension/build.gradle.kts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ plugins {
22
id("otel.java-conventions")
33
id("otel.publish-conventions")
44
id("com.gradleup.shadow")
5-
id("org.springframework.boot") version "2.7.18"
65
}
76

87
description = "OpenTelemetry extension that provides GCP authentication support for OTLP exporters"
@@ -14,6 +13,8 @@ val agent: Configuration by configurations.creating {
1413
}
1514

1615
dependencies {
16+
implementation(platform("org.springframework.boot:spring-boot-dependencies:2.7.18"))
17+
1718
annotationProcessor("com.google.auto.service:auto-service")
1819
// We use `compileOnly` dependency because during runtime all necessary classes are provided by
1920
// javaagent itself.
@@ -88,11 +89,6 @@ tasks {
8889
assemble {
8990
dependsOn(shadowJar)
9091
}
91-
92-
bootJar {
93-
// disable bootJar in build since it only runs as part of test
94-
enabled = false
95-
}
9692
}
9793

9894
val builtLibsDir = layout.buildDirectory.dir("libs").get().asFile.absolutePath

0 commit comments

Comments
 (0)