2017-08-04 19:38:17 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-04 21:17:50 +00:00
|
|
|
plugins {
|
|
|
|
id "maven"
|
|
|
|
}
|
|
|
|
|
2017-08-04 19:38:17 +00:00
|
|
|
apply plugin: "kotlin"
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile group: "org.jetbrains.kotlin", name: "kotlin-stdlib", version: kotlin_version
|
|
|
|
compile group: "org.jetbrains.kotlin", name: "kotlin-compiler", version: kotlin_version
|
|
|
|
compile group: "org.jetbrains.kotlin", name: "kotlin-script-util", version: kotlin_version
|
|
|
|
}
|
2017-08-04 21:17:50 +00:00
|
|
|
|
|
|
|
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"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|