Build: Migrate stdlib & kotlin-test to maven-publish publication
This commit is contained in:
@@ -7,8 +7,8 @@ description = 'Kotlin Standard Library for JS'
|
||||
apply plugin: 'kotlin-platform-js'
|
||||
apply plugin: 'idea'
|
||||
|
||||
// TODO: Migrate to maven-publish publishing
|
||||
configureLegacyPublishing(project)
|
||||
configurePublishing(project)
|
||||
configureJavadocJar()
|
||||
|
||||
configurations {
|
||||
sources
|
||||
@@ -16,7 +16,6 @@ configurations {
|
||||
distSources
|
||||
distJs
|
||||
distLibrary
|
||||
publishedArtifacts
|
||||
}
|
||||
|
||||
def builtinsSrcDir = "${buildDir}/builtin-sources"
|
||||
@@ -306,13 +305,10 @@ task distSourcesJar(type: Jar) {
|
||||
}
|
||||
}
|
||||
|
||||
def javadocJar = configureJavadocJar()
|
||||
|
||||
artifacts {
|
||||
runtime libraryJarWithIr
|
||||
publishedArtifacts libraryJarWithIr
|
||||
publishedArtifacts sourcesJar
|
||||
publishedArtifacts javadocJar
|
||||
publishedRuntime libraryJarWithIr
|
||||
publishedRuntime sourcesJar
|
||||
sources sourcesJar
|
||||
distSources distSourcesJar
|
||||
distLibrary libraryJarWithIr
|
||||
@@ -322,14 +318,6 @@ artifacts {
|
||||
}
|
||||
}
|
||||
|
||||
uploadArchives {
|
||||
configuration = configurations.publishedArtifacts
|
||||
}
|
||||
|
||||
install {
|
||||
configuration = configurations.publishedArtifacts
|
||||
}
|
||||
|
||||
node {
|
||||
download = true
|
||||
version = '8.9.4' // The default 6.9.1 has buggy hyperbolic functions implementation
|
||||
|
||||
Reference in New Issue
Block a user