Last active
July 22, 2017 07:54
-
-
Save t-kashima/a74c5a8f0741fb5f8dc8807f2309a6af to your computer and use it in GitHub Desktop.
Kotlin on Google App Engine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
ext.kotlin_version = '1.0.5' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.4.2.RELEASE' | |
classpath "com.google.cloud.tools:appengine-gradle-plugin:+" | |
} | |
} | |
apply plugin: "kotlin" | |
apply plugin: 'com.google.cloud.tools.appengine' | |
apply plugin: 'org.springframework.boot' | |
repositories { | |
mavenCentral() | |
} | |
sourceCompatibility = 1.8 | |
targetCompatibility = 1.8 | |
sourceSets { | |
main.java.srcDirs += 'src/main/kotlin' | |
} | |
dependencies { | |
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" | |
compile 'com.google.appengine:appengine:+' | |
compile("org.springframework.boot:spring-boot-starter-web") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment