plugins { id 'java' id 'java-library' } apply from: '../spotless.gradle' repositories { mavenCentral() } 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 { api project(":common") api 'io.prometheus:simpleclient:0.12.0' api 'org.hyperic.sigar:sigar:1.6.4' api 'com.github.ben-manes.caffeine:caffeine:2.8.8' testImplementation 'junit:junit:4.13.2' }