Skip to content

Generate Maven metadata for Conscrypt uber JAR - #1

Open
kapiaszczyk wants to merge 5 commits into
masterfrom
20801-conscrypt-pom-properties
Open

kapiaszczyk wants to merge 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

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