mirror of https://github.com/shadowfacts/ekt.git
36 lines
896 B
Groovy
36 lines
896 B
Groovy
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id "idea"
|
|
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
|
|
}
|
|
|
|
idea.module.inheritOutputDirs = true
|
|
|
|
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"))
|
|
}
|
|
}
|
|
}
|