From fd1a62fd19bfee901c625d5c1719790df908477b Mon Sep 17 00:00:00 2001 From: Daniel Bauer Date: Thu, 15 Dec 2016 09:46:13 +0100 Subject: [PATCH 1/2] apply quality plugin --- app/build.gradle | 1 + app/config/checkstyle/checkstyle.xml | 162 -------------------- app/config/checkstyle/checkstyle.xsl | 218 --------------------------- build.gradle | 8 + 4 files changed, 9 insertions(+), 380 deletions(-) delete mode 100644 app/config/checkstyle/checkstyle.xml delete mode 100644 app/config/checkstyle/checkstyle.xsl diff --git a/app/build.gradle b/app/build.gradle index 224a654..0913ebc 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,6 +1,7 @@ apply plugin: 'com.android.application' apply plugin: 'checkstyle' apply plugin: 'com.neenbedankt.android-apt' +//apply plugin: 'com.intive.codequality' android { diff --git a/app/config/checkstyle/checkstyle.xml b/app/config/checkstyle/checkstyle.xml deleted file mode 100644 index 428bd4b..0000000 --- a/app/config/checkstyle/checkstyle.xml +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/config/checkstyle/checkstyle.xsl b/app/config/checkstyle/checkstyle.xsl deleted file mode 100644 index 232bc59..0000000 --- a/app/config/checkstyle/checkstyle.xsl +++ /dev/null @@ -1,218 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -

CheckStyle Audit

-
Designed for use with - CheckStyle - andAnt. -
-
- - - -
- - - -
- - - - -
- - - - -
- - - -

Files

- - - - - - - - - - - - - - -
NameErrors
- - - - - -
-
- - - - -

File - -

- - - - - - - - - - - - - - -
Error DescriptionLine
- - - -
- Back to top -
- - - -

Summary

- - - - - - - - - - - - -
FilesErrors
- - - -
-
- - - - a - b - - -
- diff --git a/build.gradle b/build.gradle index a476bb0..7871618 100644 --- a/build.gradle +++ b/build.gradle @@ -3,6 +3,13 @@ apply plugin: 'com.github.ben-manes.versions' buildscript { repositories { + /*maven { + url "https://nexus.kupferwerk.net/content/repositories/snapshots/" + credentials { + username '<>' + password '<>' + } + }*/ jcenter() } dependencies { @@ -10,6 +17,7 @@ buildscript { classpath 'com.github.ben-manes:gradle-versions-plugin:0.11.3' // Assists in working with annotation processors for Android Studio. classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' + //classpath 'com.intive.codequality:gradle-plugin:1.0.0-SNAPSHOT' } } From 5ea19ce3e5acb32f7ec157ff65af04cbfe736fa8 Mon Sep 17 00:00:00 2001 From: Daniel Bauer Date: Thu, 15 Dec 2016 10:16:48 +0100 Subject: [PATCH 2/2] removed checkstyle plugin --- app/build.gradle | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 0913ebc..f621584 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,5 +1,4 @@ apply plugin: 'com.android.application' -apply plugin: 'checkstyle' apply plugin: 'com.neenbedankt.android-apt' //apply plugin: 'com.intive.codequality' @@ -44,29 +43,6 @@ android { } } -task checkstyle(type: Checkstyle) { - source 'src/' - include '**/*.java' - exclude '**/gen/**' - classpath = files() - reports { - xml { - destination "build/outputs/reports/checkstyle-results.xml" - } - } -} - -task checkstyleReport(dependsOn: 'checkstyle') { - doLast{ - if (file("build/outputs/reports/checkstyle-results.xml").exists()) { - ant.xslt(in: "build/outputs/reports/checkstyle-results.xml", - style: "config/checkstyle/checkstyle.xsl", - out: "build/outputs/reports/checkstyle-results.html" - ) - } - } -} - dependencies { compile 'com.google.dagger:dagger:2.6.1' apt "com.google.dagger:dagger-compiler:2.6.1"