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
-5
View File
@@ -1,17 +1,12 @@
description = 'Kotlin Common Standard Library'
apply plugin: 'kotlin-platform-common'
apply plugin: 'pill-configurable'
configurePublishing(project)
def commonSrcDir = "../src"
def commonTestSrcDir = "../test"
pill {
importAsLibrary = true
}
sourceSets {
main {
kotlin {
-5
View File
@@ -1,16 +1,11 @@
description = 'Kotlin Standard Library JDK 7 extension'
apply plugin: 'kotlin'
apply plugin: 'pill-configurable'
configureJvm6Project(project)
configurePublishing(project)
ext.javaHome = JDK_17
pill {
importAsLibrary = true
}
sourceSets {
main {
kotlin {
-5
View File
@@ -1,17 +1,12 @@
description = 'Kotlin Standard Library JDK 8 extension'
apply plugin: 'kotlin'
apply plugin: 'pill-configurable'
configureJvm6Project(project)
configurePublishing(project)
ext.javaHome = JDK_18
ext.jvmTarget = "1.8"
pill {
importAsLibrary = true
}
dependencies {
compile project(':kotlin-stdlib')
compile project(':kotlin-stdlib-jdk7')
-5
View File
@@ -1,7 +1,6 @@
description = 'Kotlin Standard Library for JVM'
apply plugin: 'kotlin-platform-jvm'
apply plugin: 'pill-configurable'
archivesBaseName = 'kotlin-stdlib'
@@ -12,10 +11,6 @@ configurations {
distSources
}
pill {
importAsLibrary = true
}
sourceSets {
main {
java {