Build default jvm core libraries artifacts as modular

#KT-21266
This commit is contained in:
Ilya Gorbunov
2020-04-20 23:24:44 +03:00
parent e1e149a062
commit 01fb200791
5 changed files with 15 additions and 23 deletions
+2 -4
View File
@@ -45,9 +45,8 @@ dependencies {
}
jar {
manifestAttributes(manifest, project, 'Main' /*true*/)
// TODO: enable as soon as this doesn't cause D8/DX to crash
// from sourceSets.java9.output
manifestAttributes(manifest, project, 'Main', true)
from sourceSets.java9.output
}
task modularJar(type: Jar) {
@@ -56,7 +55,6 @@ task modularJar(type: Jar) {
classifier = 'modular'
from zipTree(jar.outputs.files.singleFile)
from sourceSets.java9.output
}