Skip to content

Commit

Permalink
Fix for java 11 and java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocnhan-tran1996 committed Dec 7, 2024
1 parent 6b0d8c2 commit c16c434
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ plugin-javaformat = { module = "io.spring.javaformat:spring-javaformat-gradle-pl
plugin-japicmp = { module = "me.champeau.gradle:japicmp-gradle-plugin", version = "0.4.5" }
plugin-downloadTask = { module = "de.undercouch:gradle-download-task", version = "5.6.0" }
plugin-spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version = "6.25.0" }
plugin-bnd = "biz.aQute.bnd:biz.aQute.bnd.gradle:6.4.0"
plugin-bnd = "biz.aQute.bnd:biz.aQute.bnd.gradle:7.1.0"

[plugins]
kotlin19 = { id = "org.jetbrains.kotlin.jvm", version = "1.9.25" }
Expand Down
1 change: 1 addition & 0 deletions micrometer-java11/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ description 'Micrometer core classes that require Java 11'
dependencies {
api project(":micrometer-core")

testImplementation 'biz.aQute.bnd:biz.aQute.bnd.gradle:6.4.0'
testImplementation project(":micrometer-test")
testImplementation 'ru.lanwen.wiremock:wiremock-junit5'
testImplementation 'com.github.tomakehurst:wiremock-jre8-standalone'
Expand Down
1 change: 1 addition & 0 deletions micrometer-java21/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ if (!javaLanguageVersion.canCompileOrRun(21)) {
dependencies {
api project(':micrometer-core')

testImplementation 'biz.aQute.bnd:biz.aQute.bnd.gradle:6.4.0'
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.awaitility:awaitility'
Expand Down
1 change: 0 additions & 1 deletion micrometer-osgi-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ dependencies {
def testingBundle = tasks.register('testingBundle', Bundle) {
archiveClassifier = 'tests'
from sourceSets.test.output
sourceSet = sourceSets.test

bundle {
bnd """\
Expand Down

0 comments on commit c16c434

Please sign in to comment.