14d9ec9fb2
Creating javadocJar task for every project produces lots of unnecessary tasks, some project don't even have code. Jar task without outDir property set fails idea import with gradle 5.0+
32 lines
546 B
Groovy
32 lines
546 B
Groovy
description = 'Kotlin Test Annotations Common'
|
|
|
|
apply plugin: 'kotlin-platform-common'
|
|
apply plugin: 'pill-configurable'
|
|
|
|
configureDist(project)
|
|
configurePublishing(project)
|
|
|
|
|
|
dependencies {
|
|
compile kotlinStdlib("common")
|
|
testCompile project(":kotlin-test:kotlin-test-common")
|
|
}
|
|
|
|
pill {
|
|
importAsLibrary = true
|
|
}
|
|
|
|
jar {
|
|
manifestAttributes(manifest, project, 'Test')
|
|
}
|
|
|
|
task sourcesJar(type: Jar, dependsOn: classes) {
|
|
classifier = 'sources'
|
|
from sourceSets.main.kotlin
|
|
}
|
|
|
|
artifacts {
|
|
archives sourcesJar
|
|
}
|
|
|
|
javadocJar() |