aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-server-spring-boot/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'kvision-modules/kvision-server-spring-boot/build.gradle')
-rw-r--r--kvision-modules/kvision-server-spring-boot/build.gradle25
1 files changed, 25 insertions, 0 deletions
diff --git a/kvision-modules/kvision-server-spring-boot/build.gradle b/kvision-modules/kvision-server-spring-boot/build.gradle
new file mode 100644
index 00000000..d235f214
--- /dev/null
+++ b/kvision-modules/kvision-server-spring-boot/build.gradle
@@ -0,0 +1,25 @@
+apply plugin: 'kotlin-platform-jvm'
+apply plugin: 'kotlinx-serialization'
+
+dependencies {
+ expectedBy project(":kvision-modules:kvision-common")
+ compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
+ compile "org.jetbrains.kotlinx:kotlinx-serialization-runtime:$serializationVersion"
+ compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion"
+ compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
+ compile "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
+ compile "org.springframework.boot:spring-boot-starter:$springBootVersion"
+ compile "org.springframework.boot:spring-boot-starter-web:$springBootVersion"
+ 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")
+}
+
+compileKotlin {
+ kotlinOptions {
+ freeCompilerArgs = ["-Xjsr305=strict"]
+ jvmTarget = "1.8"
+ }
+}