diff --git a/build/conf/classVersions.txt b/build/conf/classVersions.txt index 032c87b16199..0112ea696ecf 100644 --- a/build/conf/classVersions.txt +++ b/build/conf/classVersions.txt @@ -4,16 +4,19 @@ ; each line represent a patching rule ; ; - => path -; this is exclude rule. It excludes all paths that starts with given prefix +; this is exclude rule. It excludes all paths that starts with given prefix, +; longer path include rule overcomes exclude rule ; xx => path -; this is the rule to enforce check of java classes of version xx, where xx could -; be one of the following: 1.2, 1.3, 1.4, 1.5, 1.6, 1.7 +; this is the rule to check that java classes under given path of version xx or older, where xx could +; be one of the following: 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8 ; check static => path ; this is the rule to check static class usages in classes under given path ; - check static => path ; exclude following paths from the check ; allow static class NAME ; allow use of given class (by starts-with) from static context +; include path +; include content of path (it is relative to the parent directory of current config file) into this file ; ; see example below ; @@ -25,7 +28,6 @@ ; have fun ; - 1.6 => 1.3 => lib/idea_rt.jar @@ -36,6 +38,4 @@ 1.5 => lib/annotations.jar 1.8 => redist/annotations-java8.jar -1.6 => plugins/gradle/lib/gradle-jps-plugin.jar - 1.3 => plugins/junit/lib/junit-rt.jar