Update build.gradle

This commit is contained in:
Shadowfacts 2017-08-04 17:17:50 -04:00
parent 65f62a8b9e
commit 640aed6d5d
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,10 @@ buildscript {
}
}
plugins {
id "maven"
}
apply plugin: "kotlin"
repositories {
@ -18,3 +22,11 @@ dependencies {
compile group: "org.jetbrains.kotlin", name: "kotlin-compiler", version: kotlin_version
compile group: "org.jetbrains.kotlin", name: "kotlin-script-util", version: kotlin_version
}
uploadArchives {
repositories.mavenDeployer {
repository(url: "http://archiva.shadowfacts.net/repository/local/") {
authentication(userName: project.hasProperty("mavenUser") ? project.mavenUser : System.getenv("mavenUser"), password: project.hasProperty("mavenPassword") ? project.mavenPassword : System.getenv("mavenPassword"))
}
}
}