aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-server-jooby/build.gradle
blob: b3912c2c963e4f1acd854a6103562e33364f5bbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
apply plugin: "io.spring.dependency-management"
apply plugin: 'kotlin-platform-jvm'
apply plugin: 'kotlinx-serialization'

dependencyManagement {
    imports {
        mavenBom "org.jooby:jooby-bom:${joobyVersion}"
    }
}

dependencies {
    expectedBy project(":kvision-modules:kvision-common")
    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.jooby:jooby-lang-kotlin"
    compile "org.jooby:jooby-jackson"
    compile "org.jooby:jooby-pac4j2"
    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 {
    targetCompatibility = javaVersion
    sourceCompatibility = javaVersion
    kotlinOptions {
        jvmTarget = javaVersion
    }
}