25 lines
579 B
Groovy
25 lines
579 B
Groovy
description = 'Kotlin Test Annotations Common'
|
|
|
|
apply plugin: 'kotlin-platform-common'
|
|
|
|
JvmToolchain.updateJvmTarget(project, "1.8")
|
|
|
|
dependencies {
|
|
api RepoDependencies.kotlinStdlib(project)
|
|
testApi project(":kotlin-test:kotlin-test-common")
|
|
}
|
|
|
|
tasks.withType(org.jetbrains.kotlin.gradle.dsl.KotlinCompile) {
|
|
kotlinOptions.freeCompilerArgs += [
|
|
"-Xallow-kotlin-package",
|
|
"-Xexpect-actual-classes",
|
|
]
|
|
}
|
|
|
|
jar {
|
|
LibrariesCommon.manifestAttributes(project, manifest, 'Test')
|
|
}
|
|
|
|
RepoArtifacts.sourcesJar(project)
|
|
RepoArtifacts.javadocJar(project)
|