From 4e1b1a36a95e899ad4415d7b4373e2c0e3ff05af Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Sun, 6 Oct 2019 21:29:01 +0900 Subject: Add build.gradle for kotlin --- template/groovy/base-gradle-kotlin.gradle | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 template/groovy/base-gradle-kotlin.gradle 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" +} -- cgit v1.2.3-54-g00ecf