-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch(plugin): Soft fail if reckon isn't configured
Instead of throwing an exception if reckon wasn't configured when someone called project.getVersion().toString(), return unspecified and log that it happened. Later calls to project.getVersion().toString() will correctly reckon the version presuming the extension is configured at that point. Calls to reckon.getVersion().get() will continue to throw exceptions, because that makes use of an explicit Provider instance that users should properly delay evaluation of until execution time. Fixes #174 Fixes #147
- Loading branch information
1 parent
4e711ad
commit ad133e8
Showing
2 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters