You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/groovy/uk/jamierocks/propatcher/task/MakePatchesTask.groovy
+10-1
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ class MakePatchesTask extends DefaultTask {
47
47
@InputDirectoryFile patches
48
48
@Input@OptionalString originalPrefix ='a/'
49
49
@Input@OptionalString modifiedPrefix ='b/'
50
-
@Inputboolean ignoreWhitespace =true
50
+
privateboolean ignoreWhitespace =true
51
51
52
52
staticdefrelative(base, file) {
53
53
return file.path.substring(base.path.length() +1).replaceAll(Matcher.quoteReplacement(File.separator), '/') //Replace is to normalize windows to linux/zip format
@@ -59,6 +59,15 @@ class MakePatchesTask extends DefaultTask {
59
59
dirs.reverse().each{ it.delete() } //Do it in reverse order do we delete deepest first
0 commit comments