diff options
Diffstat (limited to 'moaSig/build.gradle')
-rw-r--r-- | moaSig/build.gradle | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/moaSig/build.gradle b/moaSig/build.gradle index accdcad..3935b41 100644 --- a/moaSig/build.gradle +++ b/moaSig/build.gradle @@ -10,20 +10,30 @@ buildscript { } subprojects { - apply plugin: 'java' + apply plugin: 'java-library' apply plugin: 'eclipse' apply plugin: 'maven-publish' repositories { mavenCentral() + + maven { + url "https://apps.egiz.gv.at/maven/" + mavenContent { + releasesOnly() + } + } + maven { + url "https://apps.egiz.gv.at/maven-snapshot/" + mavenContent { + snapshotsOnly() + } + } + } - - tasks.withType(JavaCompile) { - options.compilerArgs << '-Xlint:-options' - } dependencies { - testCompile 'junit:junit:4.12' + testImplementation 'junit:junit:4.13.2' } version = '3.1.4-RC1' @@ -31,10 +41,13 @@ subprojects { jar { manifest.attributes provider: 'EGIZ', 'Specification-Version': getCheckedOutGitCommitHash(), 'Implementation-Version': project.version } compileJava { - sourceCompatibility = 1.7 - targetCompatibility = 1.7 + sourceCompatibility = 1.8 + targetCompatibility = 1.8 } - + + tasks.withType(JavaCompile) { + options.compilerArgs << '-Xlint:-options' + } publishing { publications { |