numass-framework/numass.gradle

32 lines
648 B
Groovy
Raw Normal View History

2015-12-18 16:20:47 +03:00
apply plugin: 'java'
apply plugin: 'groovy'
2016-10-14 19:21:52 +03:00
apply plugin: 'com.github.johnrengelman.shadow'
2015-12-18 16:20:47 +03:00
group = 'inr.numass'
version = '1.0.0'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
configurations {
deployerJars
}
repositories {
2016-04-24 22:17:52 +03:00
jcenter()
2015-12-18 16:20:47 +03:00
mavenCentral()
}
dependencies {
// Adding dependencies here will add the dependencies to each subproject.
testCompile group: 'junit', name: 'junit', version:'4.+'
}
shadowJar {
dependencies {
mergeServiceFiles()
}
}
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:deprecation" << "-Xlint:unchecked"
}