Skip to content

Instantly share code, notes, and snippets.

@t-kashima
Last active July 22, 2017 07:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save t-kashima/a74c5a8f0741fb5f8dc8807f2309a6af to your computer and use it in GitHub Desktop.
Save t-kashima/a74c5a8f0741fb5f8dc8807f2309a6af 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'
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