Closed yiqiangin closed 1 year ago
LGTM! could you link any gradle 7 documentation for reference in the PR description? That would explain how the new configurations enabled jar publishing.
LGTM! could you link any gradle 7 documentation for reference in the PR description? That would explain how the new configurations enabled jar publishing.
This solution was figured out by the engineer from our internal Gradle team. It was recorded in an internal Jira ticket. I am afraid there is no public Gradle 7 documentation about this issue now.
Let's document this process internally for future reusability.
Will do
Code Changes
ThinJarPackaging
andDistributionPackaging
, making some code changes in both classes on how to generate the packaging task, so the jars generated from those packaging task can be published as artifacts with Gradle 7.Tests cd transport ./gradlew clean build cd transportable-udfs-example ./gradlew clean build
test a UDF MP (e.g. standard-udfs-marketing) with a locally-built transport-plugin mint build mint release the content about the artifacts shown in buildspec.json include all jars