[repo] Migrate 'manifestAttributes()' into buildSrc
This commit is contained in:
committed by
Space Team
parent
db1086f005
commit
7bfe59253f
@@ -63,7 +63,7 @@ compileTestKotlinCommon {
|
||||
}
|
||||
|
||||
jar {
|
||||
manifestAttributes(manifest, project, 'Main')
|
||||
LibrariesCommon.manifestAttributes(project, manifest, 'Main')
|
||||
}
|
||||
|
||||
RepoArtifacts.sourcesJar(project)
|
||||
|
||||
@@ -30,7 +30,7 @@ dependencies {
|
||||
}
|
||||
|
||||
jar {
|
||||
manifestAttributes(manifest, project, 'Main', true)
|
||||
LibrariesCommon.manifestAttributes(project, manifest, 'Main', true)
|
||||
from sourceSets.java9.output
|
||||
}
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ dependencies {
|
||||
}
|
||||
|
||||
jar {
|
||||
manifestAttributes(manifest, project, 'Main', true)
|
||||
LibrariesCommon.manifestAttributes(project, manifest, 'Main', true)
|
||||
from sourceSets.java9.output
|
||||
}
|
||||
|
||||
|
||||
@@ -247,7 +247,7 @@ jar {
|
||||
tasks.register("libraryJarWithoutIr", Jar) {
|
||||
dependsOn(compileJs)
|
||||
archiveClassifier = null
|
||||
manifestAttributes(manifest, project, 'Main')
|
||||
LibrariesCommon.manifestAttributes(project, manifest, 'Main')
|
||||
destinationDirectory = file("$buildDir/lib/dist")
|
||||
|
||||
// TODO: Use standard implementation title after js stdlib detector becomes more flexible (KT-17655)
|
||||
|
||||
@@ -97,7 +97,7 @@ dependencies {
|
||||
|
||||
tasks.named("jar", Jar) {
|
||||
dependsOn(configurations.builtins)
|
||||
manifestAttributes(manifest, project, 'Main', true)
|
||||
LibrariesCommon.manifestAttributes(project, manifest, 'Main', true)
|
||||
from {
|
||||
zipTree(configurations.builtins.singleFile)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user