[repo] Migrate 'manifestAttributes()' into buildSrc

This commit is contained in:
Yahor Berdnikau
2023-06-30 20:39:20 +02:00
committed by Space Team
parent db1086f005
commit 7bfe59253f
18 changed files with 49 additions and 35 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ compileTestKotlinCommon {
}
jar {
manifestAttributes(manifest, project, 'Main')
LibrariesCommon.manifestAttributes(project, manifest, 'Main')
}
RepoArtifacts.sourcesJar(project)
+1 -1
View File
@@ -30,7 +30,7 @@ dependencies {
}
jar {
manifestAttributes(manifest, project, 'Main', true)
LibrariesCommon.manifestAttributes(project, manifest, 'Main', true)
from sourceSets.java9.output
}
+1 -1
View File
@@ -42,7 +42,7 @@ dependencies {
}
jar {
manifestAttributes(manifest, project, 'Main', true)
LibrariesCommon.manifestAttributes(project, manifest, 'Main', true)
from sourceSets.java9.output
}
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)
}