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_17
pill {
@@ -44,8 +43,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)
}