[repo] Migrate 'manifestAttributes()' into buildSrc
This commit is contained in:
committed by
Space Team
parent
db1086f005
commit
7bfe59253f
@@ -62,7 +62,7 @@ compileKotlin {
|
||||
LibrariesCommon.configureFrontendIr(project)
|
||||
|
||||
jar {
|
||||
manifestAttributes(manifest, project, "internal")
|
||||
LibrariesCommon.manifestAttributes(project, manifest, "internal")
|
||||
}
|
||||
|
||||
tasks.register("java9Jar", Jar) {
|
||||
|
||||
@@ -238,7 +238,11 @@ val result by task<Jar> {
|
||||
from(zipTree(provider { reflectShadowJar.get().archiveFile.get().asFile })) {
|
||||
include("META-INF/versions/**")
|
||||
}
|
||||
callGroovy("manifestAttributes", manifest, project, "Main", true)
|
||||
manifestAttributes(
|
||||
manifest,
|
||||
component = "Main",
|
||||
multiRelease = true
|
||||
)
|
||||
}
|
||||
|
||||
javadocJar()
|
||||
|
||||
Reference in New Issue
Block a user