Skip to content

Instantly share code, notes, and snippets.

@t-kashima
Last active December 10, 2016 16:18
Show Gist options
  • Save t-kashima/df1ba45743c0a3800886e220acd13222 to your computer and use it in GitHub Desktop.
Save t-kashima/df1ba45743c0a3800886e220acd13222 to your computer and use it in GitHub Desktop.
Kotlin on Google App Engine
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