build.gradle.kts 366 B

12345678910111213
  1. plugins {
  2. id("otel.library-instrumentation")
  3. id("com.google.osdetector")
  4. }
  5. // 5.5.0 is the first version that works on arm mac
  6. val oshiVersion = if (osdetector.os == "osx" && osdetector.arch == "aarch_64") "5.5.0" else "5.3.1"
  7. dependencies {
  8. library("com.github.oshi:oshi-core:$oshiVersion")
  9. testImplementation(project(":instrumentation:oshi:testing"))
  10. }