-
-
Notifications
You must be signed in to change notification settings - Fork 131
Closed
Labels
bugSomething isn't workingSomething isn't workinggradleAffects Gradle pluginsAffects Gradle pluginsreleasedIssue has been releasedIssue has been released
Milestone
Description
Task List
- Steps to reproduce provided
- Stacktrace (if present) provided
- Example that reproduces the problem (link to git repository is ideal)
- Full description of the issue provided (see below)
Steps to Reproduce
- Use an existing Java project using the JReleaser Gradle plugin version 1.15.
- Upgrade the plugin to version 1.16.
- Try running any of the Gradle JReleaser tasks that extend
AbstractJReleaserTask
. It will fail.
The project where I found out about this issue is on GitHub and it's this one.
Logs from the failure.
Expected Behaviour
The task runs successfully, as it used to before upgrading the JReleaser Gradle plugin.
Actual Behaviour
The following error is thrown for any of the Gradle JReleaser tasks that extend AbstractJReleaserTask
.
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':jreleaserDeploy' (type 'JReleaserDeployTask').
- In plugin 'org.jreleaser' type 'org.jreleaser.gradle.plugin.tasks.JReleaserDeployTask' property 'outputDirectory' specifies directory '/home/runner/work/arconia/arconia/build/jreleaser' which doesn't exist.
Reason: An input file was expected to be present but it doesn't exist.
Possible solutions:
1. Make sure the directory exists before the task is called.
2. Make sure that the task which produces the directory is declared as an input.
For more information, please refer to https://docs.gradle.org/8.12/userguide/validation_problems.html#input_file_does_not_exist in the Gradle documentation.
Environment Information
- Operating System: macOS/Ubuntu
- JReleaser Version: 1.16.0
- JDK Version: 23
- Gradle Version: 8.12
Since all tasks fail, the [out|build|target]/jreleaser/trace.log
file is not produced.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggradleAffects Gradle pluginsAffects Gradle pluginsreleasedIssue has been releasedIssue has been released