mirror of
https://gitee.com/BDWare/cm
synced 2025-01-10 09:54:03 +00:00
38 lines
649 B
Groovy
38 lines
649 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'java-library'
|
|
}
|
|
|
|
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
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
api project(":common")
|
|
api 'io.prometheus:simpleclient:0.12.0'
|
|
api 'org.knowhowlab.osgi:sigar:1.6.5_01'
|
|
api fileTree(dir: 'libs', include: '*.jar')
|
|
testImplementation 'junit:junit:4.13.2'
|
|
}
|