Stop distributing and publishing obsolete artifacts

Keep stdlib-jreN dist for tests only.

#KT-23799
This commit is contained in:
Ilya Gorbunov
2018-08-12 01:06:16 +03:00
parent b7b5fd75b8
commit c8becbd335
5 changed files with 16 additions and 15 deletions
+7 -2
View File
@@ -5,7 +5,6 @@ apply plugin: 'pill-configurable'
configureJvm6Project(project)
configureDist(project)
configurePublishing(project)
ext.javaHome = JDK_18
ext.jvmTarget = "1.8"
@@ -47,8 +46,14 @@ artifacts {
archives javadocJar
}
task distForTest(type: Copy) {
rename "-${java.util.regex.Pattern.quote(version)}", ''
from jar
into distDir
}
dist {
from (jar, sourcesJar)
dependsOn(distForTest)
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {