Added check for direct prints to console.
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
language: java
|
language: java
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- if find . -name "*.java" | xargs grep "System.out.print"; then echo "Found usage of direct print to console. Failing build."; exit 1; fi;
|
||||||
|
|
||||||
jdk:
|
jdk:
|
||||||
- openjdk8
|
- openjdk8
|
||||||
- oraclejdk8
|
- oraclejdk8
|
||||||
|
|||||||
Reference in New Issue
Block a user