aboutsummaryrefslogtreecommitdiff
path: root/moaSig/build.gradle
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2020-08-20 06:44:45 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2020-08-20 06:44:45 +0200
commitc10ade6cd189b02723bf365230d7152b7d0af970 (patch)
tree5d0450147512e6cbb6583739cd927fa66eeb12cf /moaSig/build.gradle
parent4b15590f8200ebad838dcd9c6d593df25e2433ec (diff)
downloadmoa-sig-c10ade6cd189b02723bf365230d7152b7d0af970.tar.gz
moa-sig-c10ade6cd189b02723bf365230d7152b7d0af970.tar.bz2
moa-sig-c10ade6cd189b02723bf365230d7152b7d0af970.zip
some test updates
Diffstat (limited to 'moaSig/build.gradle')
-rw-r--r--moaSig/build.gradle21
1 files changed, 20 insertions, 1 deletions
diff --git a/moaSig/build.gradle b/moaSig/build.gradle
index ad38b0c..a3931cb 100644
--- a/moaSig/build.gradle
+++ b/moaSig/build.gradle
@@ -12,18 +12,37 @@ buildscript {
subprojects {
apply plugin: 'java'
apply plugin: 'eclipse'
+ apply plugin: 'maven-publish'
repositories {
mavenCentral()
}
dependencies {
- testCompile 'junit:junit:4.8.2'
+ testCompile 'junit:junit:4.12'
}
version = '3.1.2'
jar { manifest.attributes provider: 'EGIZ', 'Specification-Version': getCheckedOutGitCommitHash(), 'Implementation-Version': project.version }
+
+
+ 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() {