From 578ad0d6bc408edf9e6c875156054374f5fd8337 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Mon, 22 Mar 2021 18:40:26 +0100 Subject: change to EGIZ codestyle --- moaSig/build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'moaSig/build.gradle') 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 { -- cgit v1.2.3