Do not use libraryJarWithoutIr as runtime output artifact
This avoids having both libraryJarWithoutIr and default jar artifact, which points to the same path as libraryJarWithIr, in the dependent projects' classpath. Use libraryJarWithIr instead. For local builds where libraryJarWithIr doesn't contain any IR, this should have the same effect.
This commit is contained in:
@@ -74,7 +74,7 @@ task sourcesJar(type: Jar, dependsOn: classes) {
|
||||
}
|
||||
|
||||
artifacts {
|
||||
runtime libraryJarWithoutIr
|
||||
runtime libraryJarWithIr
|
||||
archives libraryJarWithIr
|
||||
distLibrary libraryJarWithoutIr
|
||||
archives sourcesJar
|
||||
|
||||
@@ -370,7 +370,7 @@ task distSourcesJar(type: Jar) {
|
||||
|
||||
|
||||
artifacts {
|
||||
runtime libraryJarWithoutIr
|
||||
runtime libraryJarWithIr
|
||||
archives libraryJarWithIr
|
||||
archives sourcesJar
|
||||
sources sourcesJar
|
||||
|
||||
Reference in New Issue
Block a user