blob: d79ea83acb5b9cc4c50a029fd8b2caaa93b17666 [file] [log] [blame]
/*
* 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'
}
}
configurations {
apiElements {
attributes {
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 8)
}
}
runtimeElements {
attributes {
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 8)
}
}
}
dependencies {
compile project(':kotlinx-serialization-core')
api 'org.jetbrains.kotlin:kotlin-stdlib'
api 'com.typesafe:config:1.4.1'
testCompile "org.jetbrains.kotlin:kotlin-test"
testCompile group: 'junit', name: 'junit', version: '4.12'
}
Java9Modularity.configureJava9ModuleInfo(project)