blob: 2ff36eebd9f3482617f121e725cb2a63e60fffc9 [file] [log] [blame] [edit]
plugins {
base
}
val sources by configurations.creating
dependencies {
sources(project(":kotlin-stdlib-common", configuration = "sources"))
}
val buildSources by tasks.creating(Jar::class.java) {
dependsOn(sources)
from(provider { zipTree(sources.singleFile) })
}
artifacts.add("default", buildSources) {
name = "kotlin-stdlib-common"
classifier = "sources"
}