Skip to content

Commit

Permalink
Add metadata to all jars
Browse files Browse the repository at this point in the history
  • Loading branch information
kirill-grouchnikov committed Dec 5, 2021
1 parent 5057861 commit e41e100
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ out/
bin/
drop/*-SNAPSHOT/**
drop/*-beta*/**
drop/*-rc*/**
13 changes: 13 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,19 @@ allprojects {
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
archiveBaseName.set("${rootProject.name}-${project.name}")

manifest {
// add Aurora version, build JDK and build JDK vendor into the manifest file
attributes["Aurora-Version"] =
"${project.property("VERSION_NAME")} ${project.property("VERSION_CODENAME")}"
attributes["Build-JDK"] = System.getProperty("java.version")
attributes["Build-JDK-Vendor"] = System.getProperty("java.vendor")
if (project.hasProperty("POM_ARTIFACT_ID")) {
attributes["Automatic-Module-Name"] =
"org.pushingpixels." + "${project.property("POM_ARTIFACT_ID")}"
.replace("-", ".")
}
}
}

configurations {
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ kotlin.code.style=official

GROUP=org.pushing-pixels
VERSION_NAME=1.0.0-rc1
VERSION_CODENAME=Arctic

POM_DESCRIPTION=Building modern, elegant and fast Compose Desktop applications

Expand Down

0 comments on commit e41e100

Please sign in to comment.