Skip to content

Commit 554d574

Browse files
committed
move config overrides outside dependency block
1 parent e3c78e0 commit 554d574

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

instrumentation/oshi/library/build.gradle.kts

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ plugins {
66
dependencies {
77
library("com.github.oshi:oshi-core:5.3.1")
88

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-
}
13-
149
testImplementation(project(":instrumentation:oshi:testing"))
1510
}
11+
12+
if (osdetector.os == "osx" && osdetector.arch == "aarch_64" && !(findProperty("testLatestDeps") as Boolean)) {
13+
// 5.5.0 is the first version that works on arm mac
14+
configurations.testRuntimeClasspath.get().resolutionStrategy.force("com.github.oshi:oshi-core:5.5.0")
15+
}

0 commit comments

Comments
 (0)