File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 6
6
pass {
7
7
group.set(" com.github.oshi" )
8
8
module.set(" oshi-core" )
9
- versions.set(" [5.5.0 ,)" )
9
+ versions.set(" [5.3.1 ,)" )
10
10
// Could not parse POM https://repo.maven.apache.org/maven2/com/github/oshi/oshi-core/6.1.1/oshi-core-6.1.1.pom
11
11
skip(" 6.1.1" )
12
12
}
@@ -17,7 +17,7 @@ dependencies {
17
17
18
18
compileOnly(" io.opentelemetry:opentelemetry-sdk-extension-autoconfigure" )
19
19
20
- library(" com.github.oshi:oshi-core:5.5.0 " )
20
+ library(" com.github.oshi:oshi-core:5.3.1 " )
21
21
22
22
testImplementation(project(" :instrumentation:oshi:testing" ))
23
23
}
Original file line number Diff line number Diff line change @@ -4,8 +4,12 @@ plugins {
4
4
}
5
5
6
6
dependencies {
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
+ }
9
13
10
14
testImplementation(project(" :instrumentation:oshi:testing" ))
11
15
}
You can’t perform that action at this time.
0 commit comments