29 lines
581 B
Groovy
29 lines
581 B
Groovy
description = 'Kotlin Test Annotations Common'
|
|
|
|
apply plugin: 'kotlin-platform-common'
|
|
|
|
configurePublishing(project)
|
|
|
|
dependencies {
|
|
compile kotlinStdlib("common")
|
|
testCompile project(":kotlin-test:kotlin-test-common")
|
|
}
|
|
|
|
tasks.withType(org.jetbrains.kotlin.gradle.dsl.KotlinCompile) {
|
|
kotlinOptions.freeCompilerArgs += "-Xallow-kotlin-package"
|
|
}
|
|
|
|
jar {
|
|
manifestAttributes(manifest, project, 'Test')
|
|
}
|
|
|
|
task sourcesJar(type: Jar, dependsOn: classes) {
|
|
classifier = 'sources'
|
|
from sourceSets.main.kotlin
|
|
}
|
|
|
|
artifacts {
|
|
archives sourcesJar
|
|
}
|
|
|
|
javadocJar() |