Build: Migrate stdlib & kotlin-test to maven-publish publication

This commit is contained in:
Vyacheslav Gerasimov
2020-05-04 10:00:48 +03:00
parent f4e8c21309
commit da6c2ddb2f
6 changed files with 26 additions and 56 deletions
+2 -3
View File
@@ -2,11 +2,9 @@ description = 'Kotlin Test for JS'
apply plugin: 'kotlin-platform-js'
// TODO: Migrate to maven-publish publishing
configureLegacyPublishing(project)
configurePublishing(project)
configurations {
sources
distJs
distLibrary
}
@@ -78,6 +76,7 @@ task sourcesJar(type: Jar, dependsOn: classes) {
artifacts {
runtime libraryJarWithIr
archives libraryJarWithIr
publishedRuntime libraryJarWithIr
distLibrary libraryJarWithIr
archives sourcesJar
distJs(file(compileKotlin2Js.kotlinOptions.outputFile)) {