Files
kotlin-fork/libraries/kotlin.test/common/build.gradle
T
2020-06-14 20:31:26 +03:00

32 lines
668 B
Groovy

description = 'Kotlin Test Common'
apply plugin: 'kotlin-platform-common'
configurePublishing(project)
dependencies {
compile kotlinStdlib("common")
testCompile project(":kotlin-test:kotlin-test-annotations-common")
}
jar {
manifestAttributes(manifest, project, 'Test')
}
configureSourcesJar()
configureJavadocJar()
tasks.withType(org.jetbrains.kotlin.gradle.dsl.KotlinCompile) {
kotlinOptions.freeCompilerArgs += "-Xallow-kotlin-package"
}
compileKotlinCommon {
kotlinOptions {
freeCompilerArgs += [
"-module-name", project.name,
"-Xopt-in=kotlin.contracts.ExperimentalContracts",
]
}
}