Exclude broken oshi release (#5372)

* Exclude broken oshi release

* fix latest deps test
This commit is contained in:
Lauri Tulmin 2022-02-14 23:25:45 +02:00 committed by GitHub
parent 134b983201
commit 3fadca743e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View File

@ -7,6 +7,8 @@ muzzle {
group.set("com.github.oshi")
module.set("oshi-core")
versions.set("[5.3.1,)")
// Could not parse POM https://repo.maven.apache.org/maven2/com/github/oshi/oshi-core/6.1.1/oshi-core-6.1.1.pom
skip("6.1.1")
}
}
@ -15,9 +17,13 @@ dependencies {
compileOnly("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure")
library("com.github.oshi:oshi-core:5.3.1")
compileOnly("com.github.oshi:oshi-core:5.3.1")
testImplementation("com.github.oshi:oshi-core:5.3.1")
testImplementation(project(":instrumentation:oshi:testing"))
// Could not parse POM https://repo.maven.apache.org/maven2/com/github/oshi/oshi-core/6.1.1/oshi-core-6.1.1.pom
latestDepTestLibrary("com.github.oshi:oshi-core:6.1.0")
}
tasks {

View File

@ -3,7 +3,11 @@ plugins {
}
dependencies {
library("com.github.oshi:oshi-core:5.3.1")
compileOnly("com.github.oshi:oshi-core:5.3.1")
testImplementation("com.github.oshi:oshi-core:5.3.1")
testImplementation(project(":instrumentation:oshi:testing"))
// Could not parse POM https://repo.maven.apache.org/maven2/com/github/oshi/oshi-core/6.1.1/oshi-core-6.1.1.pom
latestDepTestLibrary("com.github.oshi:oshi-core:6.1.0")
}