Skip to content

Commit

Permalink
Do not rely on internal gradle classes (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdanfox authored Jun 8, 2018
1 parent 21fe2ee commit d516f61
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .baseline/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@
<property name="illegalPkgs" value="sun, org.elasticsearch.common.base, jersey.repackaged.com.google.common, com.google.api.client.repackaged, org.apache.hadoop.thirdparty.guava, com.clearspring.analytics.util, org.spark_project.guava"/>
<message key="import.illegal" value="Must not import repackaged classes."/>
</module>
<module name="IllegalImport">
<property name="illegalPkgs" value="^org\.gradle\..*internal"/>
<message key="import.illegal" value="Do not rely on gradle internal classes as these may change in minor releases - use org.gradle.api versions instead."/>
</module>
<module name="IllegalImport">
<property name="illegalPkgs" value="org.apache.commons.lang"/>
<message key="import.illegal" value="lang is deprecated, use lang3 instead."/>
Expand Down

0 comments on commit d516f61

Please sign in to comment.