aboutsummaryrefslogtreecommitdiff
path: root/kvision-server/build.gradle
blob: 6d623b3db042f281cde1770bc4984fb1f0e6bb4e (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
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-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.jooby:jooby-lang-kotlin"
    compile "org.jooby:jooby-jackson"
    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-common")
}

compileKotlin {
    targetCompatibility = javaVersion
    sourceCompatibility = javaVersion
    kotlinOptions {
        jvmTarget = javaVersion
    }
}