aboutsummaryrefslogtreecommitdiff
path: root/moaSig/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'moaSig/build.gradle')
-rw-r--r--moaSig/build.gradle9
1 files changed, 9 insertions, 0 deletions
diff --git a/moaSig/build.gradle b/moaSig/build.gradle
index 7a30bcc..accdcad 100644
--- a/moaSig/build.gradle
+++ b/moaSig/build.gradle
@@ -18,6 +18,10 @@ subprojects {
mavenCentral()
}
+ tasks.withType(JavaCompile) {
+ options.compilerArgs << '-Xlint:-options'
+ }
+
dependencies {
testCompile 'junit:junit:4.12'
}
@@ -25,6 +29,11 @@ subprojects {
version = '3.1.4-RC1'
jar { manifest.attributes provider: 'EGIZ', 'Specification-Version': getCheckedOutGitCommitHash(), 'Implementation-Version': project.version }
+
+ compileJava {
+ sourceCompatibility = 1.7
+ targetCompatibility = 1.7
+ }
publishing {