readd public api and add
@@ -22,6 +22,7 @@ public class ReleaseNeededTask extends DefaultTask {
private String commitMessage;
private boolean pullRequest;
private boolean skipComparePublications;
+ private boolean explosive;
private List<File> comparisonResults = new LinkedList<>();
/**
@@ -101,6 +102,23 @@ public class ReleaseNeededTask extends DefaultTask {
this.skipComparePublications = skipComparePublications;
}
+ /**
+ * If the exception should be thrown if the release is not needed.
+ */
+ @Deprecated
+ public boolean isExplosive() {
+ return explosive;
+ }
+
+ /**
+ * See {@link #isExplosive()}
+ */
+ @Deprecated
+ public ReleaseNeededTask setExplosive(boolean explosive) {
+ this.explosive = explosive;
+ return this;
+ }
+
/**
* Publication comparison results, generated by {@link org.shipkit.gradle.java.ComparePublicationsTask}.
* When the list is empty the task assumes that the comparison was not done and we should make the release.
