aboutsummaryrefslogtreecommitdiff
path: root/moaSig/build.gradle
diff options
context:
space:
mode:
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() {