diff options
-rw-r--r-- | template/groovy/base-gradle-kotlin.gradle | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/template/groovy/base-gradle-kotlin.gradle b/template/groovy/base-gradle-kotlin.gradle new file mode 100644 index 0000000..66898ea --- /dev/null +++ b/template/groovy/base-gradle-kotlin.gradle @@ -0,0 +1,22 @@ +buildscript { + ext { + kotlinVersion = '1.3.10' + } + repositories { + mavenCentral() + } + dependencies { + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" + } +} + +apply { + plugin 'kotlin' + plugin 'eclipse' + plugin 'idea' +} + +dependencies { + compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion" + testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlinVersion" +} |