[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
@@ -14,7 +14,7 @@ tasks.withType(org.jetbrains.kotlin.gradle.dsl.KotlinCompile) {
}
jar {
manifestAttributes(manifest, project, 'Test')
LibrariesCommon.manifestAttributes(project, manifest, 'Test')
}
RepoArtifacts.sourcesJar(project)
+1 -1
View File
@@ -10,7 +10,7 @@ dependencies {
}
jar {
manifestAttributes(manifest, project, 'Test')
LibrariesCommon.manifestAttributes(project, manifest, 'Test')
}
RepoArtifacts.sourcesJar(project)
+1 -1
View File
@@ -49,7 +49,7 @@ tasks.register("libraryJarWithoutIr", Jar) {
archiveClassifier.set(null)
destinationDirectory = file("$buildDir/lib/dist")
from("$buildDir/classes/main")
manifestAttributes(manifest, project, 'Test')
LibrariesCommon.manifestAttributes(project, manifest, 'Test')
}
tasks.register("libraryJarWithIr", Zip) {
+1 -1
View File
@@ -20,7 +20,7 @@ dependencies {
jar {
manifestAttributes(manifest, project, 'Test', true)
LibrariesCommon.manifestAttributes(project, manifest, 'Test', true)
if (includeJava9) {
from sourceSets.java9.output
}
+1 -1
View File
@@ -21,7 +21,7 @@ dependencies {
}
jar {
manifestAttributes(manifest, project, 'Test', true)
LibrariesCommon.manifestAttributes(project, manifest, 'Test', true)
if (includeJava9) {
from sourceSets.java9.output
}
+1 -1
View File
@@ -22,7 +22,7 @@ dependencies {
}
jar {
manifestAttributes(manifest, project, 'Test', true)
LibrariesCommon.manifestAttributes(project, manifest, 'Test', true)
if (includeJava9) {
from sourceSets.java9.output
}
+1 -1
View File
@@ -22,7 +22,7 @@ dependencies {
}
jar {
manifestAttributes(manifest, project, 'Test', true)
LibrariesCommon.manifestAttributes(project, manifest, 'Test', true)
if (includeJava9) {
from sourceSets.java9.output
}