Last active
December 10, 2016 16:18
-
-
Save t-kashima/df1ba45743c0a3800886e220acd13222 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' | |
} | |
} | |
apply plugin: "kotlin" | |
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("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