diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-02-01 11:27:39 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-02-01 11:27:39 +0100 |
commit | ab2b183792f061f1292f77931ca2a36c62986141 (patch) | |
tree | f16e5523214b21ab960e3ec5f69ac6fb29475841 /kvision-modules/kvision-server-ktor/build.gradle | |
parent | da4ce7d161db9aca034e8224ca697bb831c58ad9 (diff) | |
download | kvision-ab2b183792f061f1292f77931ca2a36c62986141.tar.gz kvision-ab2b183792f061f1292f77931ca2a36c62986141.tar.bz2 kvision-ab2b183792f061f1292f77931ca2a36c62986141.zip |
New module for server-side interface with ktor framework.
Diffstat (limited to 'kvision-modules/kvision-server-ktor/build.gradle')
-rw-r--r-- | kvision-modules/kvision-server-ktor/build.gradle | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/kvision-modules/kvision-server-ktor/build.gradle b/kvision-modules/kvision-server-ktor/build.gradle new file mode 100644 index 00000000..b38349a0 --- /dev/null +++ b/kvision-modules/kvision-server-ktor/build.gradle @@ -0,0 +1,28 @@ +apply plugin: 'kotlin-platform-jvm' +apply plugin: 'kotlinx-serialization' + +dependencies { + expectedBy project(":kvision-modules:kvision-common-types") + expectedBy project(":kvision-modules:kvision-common-remote") + compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion" + compile "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion" + compile "org.jetbrains.kotlinx:kotlinx-serialization-runtime:$serializationVersion" + compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion" + compile "io.ktor:ktor-server-core:$ktorVersion" + compile "io.ktor:ktor-jackson:$ktorVersion" + compile "com.google.inject:guice:$guiceVersion" + compile "org.pac4j:pac4j-core:$pac4jVersion" + compile "com.github.andrewoma.kwery:mapper:$kweryVersion" + compile "com.fasterxml.jackson.module:jackson-module-kotlin:$jacksonModuleKotlinVersion" + testCompile "org.jetbrains.kotlin:kotlin-test:$kotlinVersion" + testCompile project(":kvision-modules:kvision-common-types") + testCompile project(":kvision-modules:kvision-common-remote") +} + +compileKotlin { + targetCompatibility = javaVersion + sourceCompatibility = javaVersion + kotlinOptions { + jvmTarget = javaVersion + } +} |