Last active
December 9, 2017 15:21
-
-
Save gedorinku/c9dfdfbbbcbde0b8d774998927223153 to your computer and use it in GitHub Desktop.
Ktorの記事で使ったやつその1
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.2.0' | |
ext.ktor_version = '0.9.0' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
} | |
} | |
group 'io.github.gedorinku' | |
version '1.0-SNAPSHOT' | |
apply plugin: 'kotlin' | |
repositories { | |
mavenCentral() | |
maven { url "https://dl.bintray.com/kotlin/kotlinx" } | |
maven { url "https://dl.bintray.com/kotlin/ktor" } | |
} | |
dependencies { | |
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" | |
compile "io.ktor:ktor-server-netty:$ktor_version" | |
} | |
compileKotlin { | |
kotlinOptions.jvmTarget = "1.8" | |
} | |
compileTestKotlin { | |
kotlinOptions.jvmTarget = "1.8" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment