mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-04 16:49:11 +00:00
adaaae2129
Integrates the plugin script compilation task with Gradle so we no longer need to start a new instance of the JVM for each set of plugin scripts that we want to compile.
26 lines
577 B
Groovy
26 lines
577 B
Groovy
apply plugin: 'kotlin'
|
|
|
|
buildscript {
|
|
ext {
|
|
kotlinVersion = '1.1.2-4'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
maven { url "https://repo.maven.apache.org/maven2" }
|
|
}
|
|
|
|
dependencies {
|
|
compile gradleApi()
|
|
compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jre8', version: "$kotlinVersion"
|
|
compile group: 'org.jetbrains.kotlin', name: 'kotlin-compiler-embeddable', version: "$kotlinVersion"
|
|
} |