blob: 258f455aae5b158148563ca86d6126400c0a0da8 [file] [log] [blame]
description = 'Kotlin Test JUnit'
apply plugin: 'kotlin'
configureJvmProject(project)
configurePublishing(project)
dependencies {
compile project(':kotlin-test:kotlin-test-jvm')
compile('junit:junit:4.12')
}
jar {
manifestAttributes(manifest, project, 'Test')
}
artifacts {
archives sourcesJar
archives javadocJar
}
dist {
from (jar, sourcesJar)
}
compileKotlin {
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-module-name", project.name]
}
compileTestKotlin {
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package"]
}