diff --git a/buildSrc/src/main/groovy/com/mindviewinc/plugins/TaggingPlugin.groovy b/buildSrc/src/main/groovy/com/mindviewinc/plugins/TaggingPlugin.groovy index f0f0861b..e975ca06 100644 --- a/buildSrc/src/main/groovy/com/mindviewinc/plugins/TaggingPlugin.groovy +++ b/buildSrc/src/main/groovy/com/mindviewinc/plugins/TaggingPlugin.groovy @@ -25,7 +25,7 @@ class TaggingPlugin implements Plugin { if(debug && tags.hasTags()) println tags // Exclude java sources that will not compile - if (tags.willNotCompile) { + if (tags.willNotCompile || (tags.lowLevelAppendix && runningInAppveyor)) { project.sourceSets.main.java.excludes.add(file.name) } else { JavaExec javaTask = null diff --git a/buildSrc/src/main/groovy/com/mindviewinc/plugins/Tags.groovy b/buildSrc/src/main/groovy/com/mindviewinc/plugins/Tags.groovy index 37398531..ed909a87 100644 --- a/buildSrc/src/main/groovy/com/mindviewinc/plugins/Tags.groovy +++ b/buildSrc/src/main/groovy/com/mindviewinc/plugins/Tags.groovy @@ -6,6 +6,7 @@ class Tags { Boolean excludeFromTravisCI = false Boolean excludeFromAppveyorCI = false Boolean excludeFromCI = false + Boolean lowLevelAppendix = false Boolean throwsException = false Boolean errorOutputExpected = false Boolean validateByHand = false @@ -40,6 +41,7 @@ class Tags { excludeFromTravisCI = hasTag('ExcludeFromTravisCI') excludeFromAppveyorCI = hasTag('ExcludeFromAppveyorCI') excludeFromCI = hasTag('ExcludeFromCI') + lowLevelAppendix = firstLine.contains("// lowlevel/") throwsException = hasTag('ThrowsException') errorOutputExpected = hasTag('ErrorOutputExpected') validateByHand = hasTag('ValidateByHand')