Skip to content

Instantly share code, notes, and snippets.

@odiak
Created July 12, 2017 13:31
Show Gist options
  • Save odiak/b6280c23f54e07a6d7ef67c7170d3b05 to your computer and use it in GitHub Desktop.
Save odiak/b6280c23f54e07a6d7ef67c7170d3b05 to your computer and use it in GitHub Desktop.
for ktor
buildscript {
ext.kotlin_version = '1.1.0'
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName = 'net.odiak.ktor1.MainKt'
defaultTasks 'run'
repositories {
jcenter()
maven {
url "http://dl.bintray.com/kotlin/ktor"
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.jetbrains.ktor:ktor-core:0.3.3"
compile "org.jetbrains.ktor:ktor-netty:0.3.3"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment