-
-
Save saltyJeff/fd14ae82106c7690470a953e04a4e4e7 to your computer and use it in GitHub Desktop.
Ktor Gradle
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.61' | |
ext.ktor_version = '0.9.4' | |
ext.koin_version = '1.0.0-RC-2' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
} | |
} | |
dependencies { | |
//ktor | |
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" | |
compile "io.ktor:ktor-server-netty:$ktor_version" | |
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3' | |
compile "io.ktor:ktor-gson:$ktor_version" | |
compile "io.ktor:ktor-auth:$ktor_version" | |
//koin (dependency injection library, but app still crashes if I comment all the DI stuff out) | |
compile "org.koin:koin-core:$koin_version" | |
compile "org.koin:koin-ktor:$koin_version" | |
testCompile "org.koin:koin-test:$koin_version" | |
testCompile group: 'junit', name: 'junit', version: '4.12' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment