summaryrefslogtreecommitdiff
path: root/formats/hocon/build.gradle
blob: 0da4b083c0ba82e92d21d3a9b8c5dd60a1fea88e (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
/*
 * Copyright 2017-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
 */

apply plugin: 'kotlin'
apply plugin: 'kotlinx-serialization'

compileKotlin {
    kotlinOptions {
        allWarningsAsErrors = true
        jvmTarget = '1.8'
    }
}

java {
    sourceCompatibility = JavaVersion.VERSION_1_8
    targetCompatibility = JavaVersion.VERSION_1_8
}


dependencies {
    implementation project(':kotlinx-serialization-core')
    api 'org.jetbrains.kotlin:kotlin-stdlib'

    api 'com.typesafe:config:1.4.1'

    testImplementation 'org.jetbrains.kotlin:kotlin-test'
    testImplementation 'junit:junit:4.12'
}

Java9Modularity.configureJava9ModuleInfo(project)