aboutsummaryrefslogtreecommitdiff
path: root/template/groovy
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-10-06 21:29:01 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-10-06 21:29:01 +0900
commit4e1b1a36a95e899ad4415d7b4373e2c0e3ff05af (patch)
tree31f49660555d16725d863f499faa1bcc7f579f1e /template/groovy
parent51a9cec47ad815451a8cdf1408a50ea525111442 (diff)
downloadvim-sonictemplate-4e1b1a36a95e899ad4415d7b4373e2c0e3ff05af.tar.gz
vim-sonictemplate-4e1b1a36a95e899ad4415d7b4373e2c0e3ff05af.tar.bz2
vim-sonictemplate-4e1b1a36a95e899ad4415d7b4373e2c0e3ff05af.zip
Add build.gradle for kotlin
Diffstat (limited to 'template/groovy')
-rw-r--r--template/groovy/base-gradle-kotlin.gradle22
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"
+}