2021-09-26 04:50:12 +00:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
2021-12-21 09:48:31 +00:00
|
|
|
id 'java-library'
|
2021-09-26 04:50:12 +00:00
|
|
|
}
|
2023-06-15 03:08:12 +00:00
|
|
|
apply from: '../spotless.gradle'
|
2022-01-08 16:04:04 +00:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
2021-09-26 04:50:12 +00:00
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
java {
|
|
|
|
srcDirs 'src/main/java'
|
|
|
|
}
|
|
|
|
resources {
|
|
|
|
srcDir 'src/main/resources'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
test {
|
|
|
|
java {
|
|
|
|
srcDir 'src/test/java'
|
|
|
|
}
|
|
|
|
resources {
|
|
|
|
srcDir 'src/test/resources'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
|
|
|
|
dependencies {
|
2021-12-21 09:48:31 +00:00
|
|
|
api project(":common")
|
|
|
|
api 'io.prometheus:simpleclient:0.12.0'
|
2023-03-30 15:54:50 +00:00
|
|
|
api 'org.hyperic.sigar:sigar:1.6.4'
|
2024-05-23 12:13:34 +00:00
|
|
|
api 'com.github.ben-manes.caffeine:caffeine:2.8.8'
|
2021-09-26 04:50:12 +00:00
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
|
|
}
|