Skip to content

Generate Maven metadata for Conscrypt uber JAR - #1

Merged
kapiaszczyk merged 5 commits into
masterfrom
20801-conscrypt-pom-properties
Nov 2, 2026
Merged

kapiaszczyk merged 5 commits into
masterfrom
20801-conscrypt-pom-properties

Conversation

@kapiaszczyk

Copy link
Copy Markdown

No description provided.

Comment thread openjdk-uber/build.gradle
Comment on lines +93 to +106

def publication = publishing.publications.gpr
def generatePomProperties = tasks.register("generatePomProperties", WriteProperties) {
property("groupId", publication.groupId)
property("artifactId", publication.artifactId)
property("version", publication.version)
outputFile "${buildDir}/generated/maven/pom.properties"
}

tasks.named("jar").configure {
from(generatePomProperties) {
into "META-INF/maven/${publication.groupId}/${publication.artifactId}"
}
}

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those are the actual changes

@kapiaszczyk
kapiaszczyk merged commit 4db47ef into master Nov 2, 2026
6 checks passed
@kapiaszczyk
kapiaszczyk deleted the 20801-conscrypt-pom-properties branch November 2, 2026 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant