ekt/build.gradle

33 lines
847 B
Groovy

buildscript {
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id "maven"
}
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
}
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"))
}
}
}