Skip to content

Commit 7227b95

Browse files
committed
Improve some lazy configuration
1 parent 9099e74 commit 7227b95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ java {
8282
tasks.withType<Jar>().configureEach {
8383
manifest.attributes(
8484
"Implementation-Title" to project.name,
85-
"Implementation-Vendor" to metadata.organization.get().name.get(),
86-
"Implementation-Version" to project.version,
85+
"Implementation-Vendor" to metadata.organization.provider.flatMap { it.name },
86+
"Implementation-Version" to provider { project.version.toString() },
8787
)
8888
}
8989

0 commit comments

Comments
 (0)