diff options
author | Thomas <> | 2021-03-24 11:18:29 +0100 |
---|---|---|
committer | Thomas <> | 2021-03-24 11:18:29 +0100 |
commit | eee21c68c2df2935b74af656247aadd83d3d3178 (patch) | |
tree | 3c1d578cc70e841a70b108d7b07140d3c3f456bf /moaSig/build.gradle | |
parent | 5150e4414d6db8f87404247249c004530afd80b3 (diff) | |
download | moa-sig-eee21c68c2df2935b74af656247aadd83d3d3178.tar.gz moa-sig-eee21c68c2df2935b74af656247aadd83d3d3178.tar.bz2 moa-sig-eee21c68c2df2935b74af656247aadd83d3d3178.zip |
update gradle version and build process to assemble release packages
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 { |