Pill: Support all Gradle source sets, not just main/test

This commit is contained in:
Yan Zhulanow
2020-01-24 22:19:43 +09:00
parent 3acf7a4679
commit 73813aef23
24 changed files with 446 additions and 551 deletions
@@ -1,7 +1,6 @@
description = 'Kotlin Test Annotations Common'
apply plugin: 'kotlin-platform-common'
apply plugin: 'pill-configurable'
configurePublishing(project)
@@ -10,10 +9,6 @@ dependencies {
testCompile project(":kotlin-test:kotlin-test-common")
}
pill {
importAsLibrary = true
}
tasks.withType(org.jetbrains.kotlin.gradle.dsl.KotlinCompile) {
kotlinOptions.freeCompilerArgs += "-Xallow-kotlin-package"
}
@@ -1,7 +1,6 @@
description = 'Kotlin Test Common'
apply plugin: 'kotlin-platform-common'
apply plugin: 'pill-configurable'
configurePublishing(project)
@@ -10,10 +9,6 @@ dependencies {
testCompile project(":kotlin-test:kotlin-test-annotations-common")
}
pill {
importAsLibrary = true
}
jar {
manifestAttributes(manifest, project, 'Test')
}
-5
View File
@@ -1,15 +1,10 @@
description = 'Kotlin Test JUnit'
apply plugin: 'kotlin-platform-jvm'
apply plugin: 'pill-configurable'
configureJvm6Project(project)
configurePublishing(project)
pill {
importAsLibrary = true
}
dependencies {
expectedBy project(':kotlin-test:kotlin-test-annotations-common')
compile project(':kotlin-test:kotlin-test-jvm')
-5
View File
@@ -1,15 +1,10 @@
description = 'Kotlin Test'
apply plugin: 'kotlin-platform-jvm'
apply plugin: 'pill-configurable'
configureJvm6Project(project)
configurePublishing(project)
pill {
importAsLibrary = true
}
def includeJava9 = BuildPropertiesKt.getKotlinBuildProperties(project).includeJava9
sourceSets {