Files
kotlin-fork/libraries/kotlin.test/common/build.gradle
T

36 lines
671 B
Groovy

description = 'Kotlin Test Common'
apply plugin: 'kotlin-platform-common'
configureDist(project)
configurePublishing(project)
dependencies {
compile project(':kotlin-stdlib-common')
testCompile project(":kotlin-test:kotlin-test-annotations-common")
}
jar {
manifestAttributes(manifest, project, 'Test')
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.kotlin
}
classes.dependsOn.remove("compileJava")
artifacts {
archives sourcesJar
archives javadocJar
}
compileKotlinCommon {
kotlinOptions {
freeCompilerArgs = [
"-module-name", project.name
]
}
}