aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-server-javalin/build.gradle
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2020-02-25 19:35:01 +0100
committerRobert Jaros <rjaros@finn.pl>2020-02-25 19:35:01 +0100
commit9a8525f2e5cb50071c076032fdcef5a48060108e (patch)
treeaedd628608622239ba8f55377b6b833fdb4ab7a9 /kvision-modules/kvision-server-javalin/build.gradle
parentcd51c65b8f61112703fa5995b5585a1109aab8a4 (diff)
downloadkvision-9a8525f2e5cb50071c076032fdcef5a48060108e.tar.gz
kvision-9a8525f2e5cb50071c076032fdcef5a48060108e.tar.bz2
kvision-9a8525f2e5cb50071c076032fdcef5a48060108e.zip
Support for Javalin server (#138)
Diffstat (limited to 'kvision-modules/kvision-server-javalin/build.gradle')
-rw-r--r--kvision-modules/kvision-server-javalin/build.gradle30
1 files changed, 30 insertions, 0 deletions
diff --git a/kvision-modules/kvision-server-javalin/build.gradle b/kvision-modules/kvision-server-javalin/build.gradle
new file mode 100644
index 00000000..4664b5d9
--- /dev/null
+++ b/kvision-modules/kvision-server-javalin/build.gradle
@@ -0,0 +1,30 @@
+apply plugin: 'kotlin-platform-jvm'
+apply plugin: 'kotlinx-serialization'
+
+dependencies {
+ expectedBy project(":kvision-modules:kvision-common-types")
+ expectedBy project(":kvision-modules:kvision-common-remote")
+ expectedBy project(":kvision-modules:kvision-common-annotations")
+ compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
+ compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
+ 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 "org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:$coroutinesVersion"
+ compile "io.javalin:javalin:$javalinVersion"
+ compile "com.google.inject:guice:$guiceVersion"
+ 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")
+ testCompile project(":kvision-modules:kvision-common-annotations")
+}
+
+compileKotlin {
+ targetCompatibility = javaVersion
+ sourceCompatibility = javaVersion
+ kotlinOptions {
+ jvmTarget = javaVersion
+ }
+}