Stop producing empty kotlin-stdlib-coroutines jar
This commit is contained in:
@@ -92,13 +92,6 @@ jar {
|
||||
from sourceSets.coroutines.output
|
||||
}
|
||||
|
||||
task coroutinesCommonJar(type: Jar) {
|
||||
classifier = 'coroutines'
|
||||
version = null
|
||||
manifestAttributes(manifest, project, 'Main')
|
||||
project.configure(manifest) { attributes 'Kotlin-Version': '1.3' }
|
||||
}
|
||||
|
||||
task sourcesJar(type: Jar, dependsOn: classes) {
|
||||
classifier = 'sources'
|
||||
from sourceSets.main.kotlin
|
||||
@@ -125,11 +118,5 @@ task distCommon(type: Copy) {
|
||||
|
||||
dist.dependsOn distCommon
|
||||
|
||||
task experimentalCommonJarsDist(type: Copy) {
|
||||
from coroutinesCommonJar
|
||||
into distDir
|
||||
}
|
||||
|
||||
dist.dependsOn experimentalCommonJarsDist
|
||||
|
||||
classes.setDependsOn(classes.dependsOn.findAll { it != "compileJava" })
|
||||
|
||||
@@ -77,13 +77,6 @@ jar {
|
||||
// from sourceSets.java9.output
|
||||
}
|
||||
|
||||
task coroutinesJar(type: Jar) {
|
||||
version = null
|
||||
classifier = 'coroutines'
|
||||
manifestAttributes(manifest, project, 'Main')
|
||||
project.configure(manifest) { attributes 'Kotlin-Version': '1.3' }
|
||||
}
|
||||
|
||||
sourcesJar {
|
||||
from "${rootDir}/core/builtins/native"
|
||||
from sourceSets.coroutines.kotlin
|
||||
@@ -139,13 +132,6 @@ dist {
|
||||
}
|
||||
}
|
||||
|
||||
task experimentalJarsDist(type: Copy) {
|
||||
from coroutinesJar
|
||||
into distDir
|
||||
}
|
||||
|
||||
dist.dependsOn experimentalJarsDist
|
||||
|
||||
task dexMethodCount(type: DexMethodCount) {
|
||||
from jar
|
||||
ownPackages = ['kotlin']
|
||||
|
||||
Reference in New Issue
Block a user