File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 66 pass {
77 group.set(" com.github.oshi" )
88 module.set(" oshi-core" )
9- versions.set(" [5.5.0 ,)" )
9+ versions.set(" [5.3.1 ,)" )
1010 // Could not parse POM https://repo.maven.apache.org/maven2/com/github/oshi/oshi-core/6.1.1/oshi-core-6.1.1.pom
1111 skip(" 6.1.1" )
1212 }
@@ -17,7 +17,7 @@ dependencies {
1717
1818 compileOnly(" io.opentelemetry:opentelemetry-sdk-extension-autoconfigure" )
1919
20- library(" com.github.oshi:oshi-core:5.5.0 " )
20+ library(" com.github.oshi:oshi-core:5.3.1 " )
2121
2222 testImplementation(project(" :instrumentation:oshi:testing" ))
2323}
Original file line number Diff line number Diff line change @@ -4,8 +4,12 @@ plugins {
44}
55
66dependencies {
7- // 5.5.0 is the first version that works on arm mac
8- library(" com.github.oshi:oshi-core:5.5.0" )
7+ library(" com.github.oshi:oshi-core:5.3.1" )
8+
9+ if (osdetector.os == " osx" && osdetector.arch == " aarch_64" && ! (findProperty(" testLatestDeps" ) as Boolean )) {
10+ // 5.5.0 is the first version that works on arm mac
11+ configurations.testRuntimeClasspath.get().resolutionStrategy.force(" com.github.oshi:oshi-core:5.5.0" )
12+ }
913
1014 testImplementation(project(" :instrumentation:oshi:testing" ))
1115}
You can’t perform that action at this time.
0 commit comments