-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade build infrastructure and gradle 4.2 (#32)
* Upgrade to gradle 4.2 * Upgrade gradle plugins * Baseline 0.16.0 * Nebula dependency recommender 5.0.0 * Nebula publishing 5.1.1 * Gradle configuration resolver 0.3.0 Inferred annotation processors 1.2.12
- Loading branch information
Showing
10 changed files
with
40 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
javaVersion = 1.8 | ||
baselineVersion = 0.14.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,26 @@ | ||
apply plugin: 'java' | ||
apply plugin: 'jacoco' | ||
apply plugin: 'org.inferred.processors' // installs the "processor" configuration needed for baseline-error-prone | ||
apply plugin: 'com.palantir.baseline-error-prone' | ||
apply plugin: 'com.palantir.baseline-checkstyle' | ||
apply plugin: 'com.palantir.baseline-eclipse' | ||
apply plugin: 'com.palantir.baseline-idea' | ||
apply plugin: 'com.palantir.configuration-resolver' | ||
apply plugin: 'com.palantir.jacoco-coverage' | ||
|
||
jacocoCoverage { | ||
fileThreshold 0.5 | ||
fileThreshold 0.0, ~"Immutable_.*\\.java" | ||
jacocoTestReport { | ||
reports { | ||
xml.enabled true | ||
} | ||
afterEvaluate { | ||
classDirectories = project.files(classDirectories.files.collect { | ||
// Exclusion path is project-relative and has a base of compiled classes | ||
fileTree(dir: it, exclude: '**/Immutable*.class') | ||
}) | ||
} | ||
} | ||
|
||
tasks.jacocoTestReport.dependsOn(tasks.test) | ||
tasks.check.dependsOn(tasks.jacocoTestReport) | ||
|
||
sourceCompatibility = '1.8' | ||
targetCompatibility = '1.8' |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
#Wed May 10 11:00:43 EDT 2017 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.2-bin.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters