Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build.gradle: use get() to convert Jar-task properties to strings #2336

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

stephengold
Copy link
Member

These changes are meant to resolve issue #2335.

The archiveClassifer and archiveExtension properties of archiveTask are converted to strings using get().

This enables the correct JAR files to be copied to the correct "build/libDist" folders under the correct names.

Tested on both Linux and Windows. Holding 24 hours for review. If there's no substantial discussion, I will self-integrate this PR.

@stephengold stephengold added defect Something that is supposed to work, but doesn't. Less severe than a "bug" buildscript An issue with the buildscript labels Dec 5, 2024
@stephengold stephengold added this to the Future Release milestone Dec 5, 2024
@stephengold stephengold linked an issue Dec 5, 2024 that may be closed by this pull request
@8Keep
Copy link
Contributor

8Keep commented Dec 5, 2024

Followup, make this task and any others missing run on CI

@stephengold
Copy link
Member Author

Followup, make this task and any others missing run on CI

It seems best to do that as part of this PR.

I moved the "createZipDistribution" task in the "BuildJMonkey" job, from the deployment if-block to the section that runs across the entire 3x3 matrix. Since "createZipDistrbution" depends on the "libDist" task, that provides the desired test coverage.

@stephengold stephengold merged commit fc32a26 into master Dec 6, 2024
14 checks passed
@stephengold stephengold deleted the sgold/issue2335 branch December 6, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
buildscript An issue with the buildscript defect Something that is supposed to work, but doesn't. Less severe than a "bug"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The 'libDist' task in the build.gradle file is failing
2 participants