提交 3f103293 编写于 作者: V Vyacheslav Gerasimov

Build: Fix publication of stdlib-js to avoid publishing all artifacts

Because of https://github.com/gradle/gradle/issues/4612 install and
uploadArchives tasks published artifacts which were not meant
to be published
上级 7dcdc506
...@@ -15,6 +15,7 @@ configurations { ...@@ -15,6 +15,7 @@ configurations {
distSources distSources
distJs distJs
distLibrary distLibrary
publishedArtifacts
} }
def builtinsSrcDir = "${buildDir}/builtin-sources" def builtinsSrcDir = "${buildDir}/builtin-sources"
...@@ -340,12 +341,13 @@ task distSourcesJar(type: Jar) { ...@@ -340,12 +341,13 @@ task distSourcesJar(type: Jar) {
} }
} }
def javadocJar = javadocJar()
artifacts { artifacts {
runtime libraryJarWithIr runtime libraryJarWithIr
archives libraryJarWithIr publishedArtifacts libraryJarWithIr
archives sourcesJar publishedArtifacts sourcesJar
publishedArtifacts javadocJar
sources sourcesJar sources sourcesJar
distSources distSourcesJar distSources distSourcesJar
distLibrary libraryJarWithoutIr distLibrary libraryJarWithoutIr
...@@ -355,7 +357,13 @@ artifacts { ...@@ -355,7 +357,13 @@ artifacts {
} }
} }
javadocJar() uploadArchives {
configuration = configurations.publishedArtifacts
}
install {
configuration = configurations.publishedArtifacts
}
node { node {
download = true download = true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册