PerfCalculator/build.gradle
2021-12-02 09:13:49 +08:00

39 lines
788 B
Groovy

plugins {
id 'java'
id 'idea'
}
def currVersion = "1.0.0"
ext.projectIds = ['group': 'com.bdware.perfcalculator', 'version': currVersion]
sourceCompatibility = 1.8
sourceSets {
main {
java {
srcDir 'src/main/java'
}
resources {
srcDir 'src/main/resources'
}
}
test {
java {
srcDirs 'src/test/java', 'src/test/deploy'
}
resources {
srcDir 'src/test/resources'
}
}
}
dependencies {
implementation 'com.google.code.gson:gson:2.8.8'
implementation 'junit:junit:4.13.1'
testImplementation 'junit:junit:4.13.2'
}
task copyLibs(type: Copy) {
from configurations.runtimeClasspath
into "./build/libs/"
}
repositories {
mavenCentral()
}