-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
While we don't want to soft-fail at all in the settings plugin, we still want to provide this as a workaround for misbehaving plugins that might interfere with your version before it's configured. However, as #194 made clear, we want to be more careful about which exceptions we catch. We'd really like to catch cases of failing to build the reckoner configuration. We do need to inspect the throwable cause chain though given the layers Gradle adds on top. Fixes #194
- Loading branch information
1 parent
d3e04b2
commit e573157
Showing
3 changed files
with
41 additions
and
16 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
reckon-gradle/src/main/java/org/ajoberstar/reckon/gradle/ReckonConfigurationException.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.ajoberstar.reckon.gradle; | ||
|
||
public class ReckonConfigurationException extends RuntimeException { | ||
public ReckonConfigurationException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
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