Permalink
Browse files

gradle build 3.1, pmd 6.2.0

  • Loading branch information...
avalax committed Apr 3, 2018
1 parent a1192af commit 5b58357fb1a767797d94074c2344d1818ddd85bd
Showing with 8 additions and 7 deletions.
  1. +5 −4 build.gradle
  2. +0 −2 gradle.properties
  3. +2 −1 gradle/wrapper/gradle-wrapper.properties
  4. +1 −0 pmd.xml
@@ -4,7 +4,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.android.tools.build:gradle:3.1.0'
classpath 'org.jacoco:org.jacoco.core:0.8.0'
}
}
@@ -96,7 +96,7 @@ dependencies {
implementation 'com.android.support:design:27.1.0'
implementation 'com.android.support:cardview-v7:27.1.0'
implementation 'com.android.support:recyclerview-v7:27.1.0'
implementation 'com.google.android.gms:play-services-ads:11.8.0'
implementation 'com.google.android.gms:play-services-ads:12.0.1'
implementation 'com.google.dagger:dagger:2.14.1'
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'
@@ -194,17 +194,18 @@ afterEvaluate {
}
task wrapper(type: Wrapper) {
gradleVersion = '4.1'
gradleVersion = '4.4'
}
apply plugin: 'pmd'
pmd{
toolVersion="6.1.0"
toolVersion="6.2.0"
}
task pmd(type: Pmd) {
ruleSetFiles = files("pmd.xml")
ruleSets = []
ignoreFailures = true
source 'src/main/java'
@@ -19,5 +19,3 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryErro
# VersionEye project ID added by Gradle VersionEye plugin
versioneye.projectid=56d966523225f30037816a13
android.builder.sdkDownload=true
# Temporary fix for Robolectric
android.enableAapt2=false
@@ -1,5 +1,6 @@
#Tue Apr 03 20:18:56 CEST 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
@@ -21,6 +21,7 @@
<exclude name="LawOfDemeter" />
<exclude name="LoosePackageCoupling" />
<exclude name="ImmutableField" />
<exclude name="DataClass" />
</rule>
<rule ref="category/java/errorprone.xml">
<exclude name="BeanMembersShouldSerialize" />

0 comments on commit 5b58357

Please sign in to comment.