File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
buildSrc/src/main/groovy/com/mindviewinc/plugins Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ class TaggingPlugin implements Plugin<Project> {
26
26
27
27
// Exclude java sources that will not compile
28
28
if (tags. willNotCompile
29
+ || tags. newFeature // Uses a feature introduced after Java 8
29
30
|| (tags. lowLevelAppendix && runningInAppveyor) // Exclude entire lowlevel appendix
30
31
|| (tags. excludeFromAppveyorCI && runningInAppveyor)
31
32
|| (tags. excludeFromTravisCI && runningInTravis)
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ class Tags {
10
10
Boolean throwsException = false
11
11
Boolean errorOutputExpected = false
12
12
Boolean excludeFromGradle = false
13
+ Boolean newFeature = false // For language feature introduced after Java 8
13
14
Boolean ignoreOutput = false // This tag isn't used in the build...
14
15
String fileRoot
15
16
String mainClass
@@ -45,6 +46,7 @@ class Tags {
45
46
throwsException = hasTag(' ThrowsException' )
46
47
errorOutputExpected = hasTag(' ErrorOutputExpected' )
47
48
excludeFromGradle = hasTag(' ExcludeFromGradle' )
49
+ newFeature = hasTag(' NewFeature' )
48
50
ignoreOutput = hasTag(' IgnoreOutput' )
49
51
javap = extract(' javap' ) // Includes only arguments to command
50
52
runFirst = extract(' RunFirst:' )
@@ -83,6 +85,7 @@ class Tags {
83
85
throwsException ||
84
86
errorOutputExpected ||
85
87
excludeFromGradle ||
88
+ newFeature ||
86
89
ignoreOutput ||
87
90
javaCmd ||
88
91
args ||
@@ -105,6 +108,7 @@ class Tags {
105
108
throwsException
106
109
errorOutputExpected
107
110
excludeFromGradle
111
+ newFeature
108
112
ignoreOutput
109
113
fileRoot
110
114
mainClass
You can’t perform that action at this time.
0 commit comments