CI Exclusion
This commit is contained in:
parent
bed69283e3
commit
a3b792adf9
@ -2,7 +2,7 @@
|
||||
// (c)2017 MindView LLC: see Copyright.txt
|
||||
// We make no guarantees that this code is fit for any purpose.
|
||||
// Visit http://OnJava8.com for more book information.
|
||||
// !!!! CI Systems have trouble
|
||||
// {ExcludeFromTravisCI}
|
||||
import java.util.*;
|
||||
|
||||
public class ParallelPrefix3 {
|
||||
|
@ -25,7 +25,12 @@ class TaggingPlugin implements Plugin<Project> {
|
||||
if(debug && tags.hasTags()) println tags
|
||||
|
||||
// Exclude java sources that will not compile
|
||||
if (tags.willNotCompile || (tags.lowLevelAppendix && runningInAppveyor)) {
|
||||
if (tags.willNotCompile
|
||||
|| (tags.lowLevelAppendix && runningInAppveyor) // Exclude entire lowlevel appendix
|
||||
|| (tags.excludeFromAppveyorCI && runningInAppveyor)
|
||||
|| (tags.excludeFromTravisCI && runningInTravis)
|
||||
|| (tags.excludeFromCI && runningInCI)
|
||||
) {
|
||||
project.sourceSets.main.java.excludes.add(file.name)
|
||||
} else {
|
||||
JavaExec javaTask = null
|
||||
|
Loading…
x
Reference in New Issue
Block a user