diff options
author | Thomas <> | 2021-03-24 12:16:25 +0100 |
---|---|---|
committer | Thomas <> | 2021-03-24 12:16:25 +0100 |
commit | 835a395f3ecb7477b5b67e9da9bf3af58c86473a (patch) | |
tree | 916fa7705879063f6b83517d80197c37dc53caf8 /moaSig/build.gradle | |
parent | a972fba0402eca3c5fcfcd1eef1979808fd716a1 (diff) | |
parent | 666d8c9f8cec7573e60a14ab039c0874f6a9ec53 (diff) | |
download | moa-sig-835a395f3ecb7477b5b67e9da9bf3af58c86473a.tar.gz moa-sig-835a395f3ecb7477b5b67e9da9bf3af58c86473a.tar.bz2 moa-sig-835a395f3ecb7477b5b67e9da9bf3af58c86473a.zip |
Merge branch 'master' of gitlab.iaik.tugraz.at:egiz/moa-sig
# Conflicts:
# moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java
# moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/config/ConfigurationProvider.java
Diffstat (limited to 'moaSig/build.gradle')
-rw-r--r-- | moaSig/build.gradle | 51 |
1 files changed, 44 insertions, 7 deletions
diff --git a/moaSig/build.gradle b/moaSig/build.gradle index 247bf08..3935b41 100644 --- a/moaSig/build.gradle +++ b/moaSig/build.gradle @@ -10,24 +10,61 @@ 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() + } + } + } - + dependencies { - testCompile 'junit:junit:4.8.2' + testImplementation 'junit:junit:4.13.2' } - version = '3.1.0-RC5' + version = '3.1.4-RC1' jar { manifest.attributes provider: 'EGIZ', 'Specification-Version': getCheckedOutGitCommitHash(), 'Implementation-Version': project.version } -} -task wrapper(type: Wrapper) { - gradleVersion = '2.8' + compileJava { + sourceCompatibility = 1.8 + targetCompatibility = 1.8 + } + + tasks.withType(JavaCompile) { + options.compilerArgs << '-Xlint:-options' + } + + publishing { + publications { + mavenJava(MavenPublication) { + from components.java + // more goes in here + } + } + repositories { + maven { + // change to point to your repo, e.g. http://my.org/repo + url = "$buildDir/repo" + } + mavenLocal() + } + } + } def getCheckedOutGitCommitHash() { |