First draft of KotlinPluginEnvironment

This commit is contained in:
Gary Tierney
2017-05-26 00:51:51 +01:00
parent 3ae6a1b290
commit 3403c0a2d1
5 changed files with 236 additions and 1 deletions
+25
View File
@@ -1,7 +1,32 @@
description = 'Apollo Game'
buildscript {
ext.kotlinVersion = '1.1.2-4'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
apply plugin: 'kotlin'
dependencies {
compile project(':cache')
compile project(':net')
compile project(':util')
compile group: 'org.jetbrains.kotlin', name: 'kotlin-compiler', version: $kotlinVersion
compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jre8', version: $kotlinVersion
}
sourceSets {
main.kotlin.srcDirs += 'src/kotlin'
}
repositories {
mavenCentral()
}