Skip to content

Commit

Permalink
Merge branch 'release/3.6.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrer757 committed Jan 26, 2018
2 parents aef3955 + 42e2a8d commit 895d13f
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 28 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ cache:
android:
components:
- tools
- build-tools-25.0.3
- build-tools-27.0.3
- platform-tools
- extra-android-m2repository
- extra-google-m2repository
- extra-google-android-support
- android-25
- sys-img-armeabi-v7a-android-25
- android-27
- sys-img-armeabi-v7a-android-27

licenses:
- 'android-sdk-preview-license-.+'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ buildscript {
...
dependencies {
...
classpath 'pt.simdea.verifier:verifier:3.5.9'
classpath 'pt.simdea.verifier:verifier:3.6.0'
...
}
...
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ buildscript {
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-alpha8'
classpath 'pt.simdea.verifier:verifier:3.5.9-pre34'
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'pt.simdea.verifier:verifier:3.5.9'
classpath 'com.novoda:bintray-release:0.5.0'
}
}
Expand Down
17 changes: 9 additions & 8 deletions plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@ repositories { jcenter() }

dependencies {
compileOnly gradleApi()

// Checkstyle
compile('com.puppycrawl.tools:checkstyle:8.2') {
implementation('com.puppycrawl.tools:checkstyle:8.7') {
// Android Lint also depends on guava, so don't bring it in twice
exclude module: 'guava'
}
// FindBugs
compile 'com.google.code.findbugs:findbugs:3.0.1'
implementation 'com.google.code.findbugs:findbugs:3.0.1'
// SpotBugs
//compile 'com.github.spotbugs:spotbugs:3.1.0-RC5'
//compile 'com.github.spotbugs:spotbugs-ant:3.1.0-RC5'
//compile 'com.github.spotbugs:spotbugs-annotations:3.1.0-RC5'
//compile 'com.github.spotbugs:spotbugs:3.1.1'
//compile 'com.github.spotbugs:spotbugs-ant:3.1.1'
//compile 'com.github.spotbugs:spotbugs-annotations:3.1.1'
//compile 'com.github.spotbugs:spotbugs-archetype:0.1.0'
// PMD
compile 'net.sourceforge.pmd:pmd-java:5.8.1'
implementation 'net.sourceforge.pmd:pmd-java:6.0.1'
// Error Prone
compile 'com.google.errorprone:error_prone_ant:2.1.1'
implementation 'com.google.errorprone:error_prone_ant:2.1.1'
}

project.ext {
Expand All @@ -28,7 +29,7 @@ project.ext {
description = 'Static code analysis plugin for Android projects.'
groupId = 'pt.simdea.verifier'
artifactId = 'verifier'
version = "3.5.9"
version = "3.6.0"
website = 'https://github.com/simdea/android-quality-verifier'
scm = 'https://github.com/simdea/android-quality-verifier'
tags = ['android', 'verifier', 'check', 'checkstyle', 'spotbugs', 'pmd', 'lint', 'quality']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class CheckPlugin implements Plugin<Project> {
target.check.extensions.create('lint', CheckExtension.Lint)

target.repositories.add(target.getRepositories().jcenter())
target.dependencies.add("compile", "pt.simdea.verifier.annotations:verifier-annotations:0.0.3")
target.dependencies.add("api", "pt.simdea.verifier.annotations:verifier-annotations:0.0.3")
target.dependencies.add("annotationProcessor", "pt.simdea.verifier.annotations:verifier-annotations:0.0.3")

new FindbugsCheck().apply(target)
Expand Down
18 changes: 9 additions & 9 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ apply plugin: 'com.android.application'
apply plugin: 'pt.simdea.verifier'

android {
compileSdkVersion 25
buildToolsVersion '25.0.3'
compileSdkVersion 27
buildToolsVersion '27.0.3'

defaultConfig {
versionCode 1
versionName '1.0'
minSdkVersion 22
targetSdkVersion 25
targetSdkVersion 27
}

compileOptions {
Expand All @@ -23,8 +23,8 @@ android {
}

dependencies {
compile 'org.slf4j:slf4j-api:1.7.12'
compile ('com.github.tony19:logback-android-classic:1.1.1-4') {
implementation 'org.slf4j:slf4j-api:1.7.12'
implementation ('com.github.tony19:logback-android-classic:1.1.1-4') {
exclude group: 'com.google.android'
}
}
Expand All @@ -37,15 +37,15 @@ check {
abortOnError false
}

/*findbugs {
findbugs {
abortOnError false
reportXML new File(project.buildDir, 'reports/findbugs/findbugs.xml')
}*/
}

spotbugs {
/*spotbugs {
abortOnError false
reportXML new File(project.buildDir, 'reports/spotbugs/spotbugs.xml')
}
}*/

pmd {
abortOnError false
Expand Down
8 changes: 4 additions & 4 deletions verifier-annotations/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ apply plugin: 'com.android.library'
apply plugin: 'com.novoda.bintray-release'

android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
compileSdkVersion 27
buildToolsVersion "27.0.3"

defaultConfig {
minSdkVersion 16
targetSdkVersion 25
targetSdkVersion 27
versionCode 1
versionName "1.0"

Expand All @@ -23,7 +23,7 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
implementation fileTree(dir: 'libs', include: ['*.jar'])
}

project.ext {
Expand Down

0 comments on commit 895d13f

Please sign in to comment.