summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorGravatar modmuss502020-06-03 18:49:37 +0100
committerGravatar modmuss502020-06-03 18:49:37 +0100
commit4438ac575b370a2c3fa56eec140db8f77efdf09b (patch)
treeade5dc9b5cfc10e3fd7e2659feac18972270f685 /build.gradle
parentSplit GUI code to separate module (#242) (diff)
downloadenigma-4438ac575b370a2c3fa56eec140db8f77efdf09b.tar.gz
enigma-4438ac575b370a2c3fa56eec140db8f77efdf09b.tar.xz
enigma-4438ac575b370a2c3fa56eec140db8f77efdf09b.zip
Fix publishing to maven
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle20
1 files changed, 11 insertions, 9 deletions
diff --git a/build.gradle b/build.gradle
index bd2d99f4..7423b699 100644
--- a/build.gradle
+++ b/build.gradle
@@ -50,16 +50,18 @@ subprojects {
50 } 50 }
51} 51}
52 52
53publishing { 53allprojects {
54 repositories { 54 publishing {
55 mavenLocal() 55 repositories {
56 mavenLocal()
56 57
57 if (project.hasProperty('mavenPass')) { 58 if (project.hasProperty('mavenPass')) {
58 maven { 59 maven {
59 url = "http://mavenupload.modmuss50.me/" 60 url = "http://mavenupload.modmuss50.me/"
60 credentials { 61 credentials {
61 username = "buildslave" 62 username = "buildslave"
62 password = project.getProperty('mavenPass') 63 password = project.getProperty('mavenPass')
64 }
63 } 65 }
64 } 66 }
65 } 67 }