Skip to content

Commit 7073e0b

Browse files
committed
#21 GradlePlugin: removed skip flag, standard gradle mechanisms should be used
1 parent 8e6e655 commit 7073e0b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

jcp/src/main/java/com/igormaznitsa/jcp/gradle/JcpPreprocessTask.java

-10
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,6 @@ public class JcpPreprocessTask extends DefaultTask {
137137
* will be replaced by white spaces chars.
138138
*/
139139
private final Property<Boolean> preserveIndents;
140-
/**
141-
* Skip preprocessing. Also can be defined by property 'jcp.preprocess.skip'
142-
*/
143-
private final Property<Boolean> skip;
144140
/**
145141
* Turn on check of content body compare with existing result file to prevent
146142
* overwriting, if content is the same then preprocessor will not be writing
@@ -162,7 +158,6 @@ public JcpPreprocessTask() {
162158
this.keepComments = factory.property(Boolean.class).convention(true);
163159
this.keepLines = factory.property(Boolean.class).convention(true);
164160
this.preserveIndents = factory.property(Boolean.class).convention(false);
165-
this.skip = factory.property(Boolean.class).convention(false);
166161
this.unknownVarAsFalse = factory.property(Boolean.class).convention(false);
167162
this.verbose = factory.property(Boolean.class).convention(false);
168163

@@ -306,11 +301,6 @@ public Property<Boolean> getPreserveIndents() {
306301
return preserveIndents;
307302
}
308303

309-
@Input
310-
public Property<Boolean> getSkip() {
311-
return skip;
312-
}
313-
314304
@Input
315305
public Property<Boolean> getDontOverwriteSameContent() {
316306
return dontOverwriteSameContent;

0 commit comments

Comments
 (0)