-
-
Save mkarmona/5ec1aeabb8b478f0dbdd85dae30194fc to your computer and use it in GitHub Desktop.
Kotlin on Google App Engine
This file contains hidden or 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