aboutsummaryrefslogtreecommitdiffstats
path: root/gradle/convention.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'gradle/convention.gradle')
-rw-r--r--gradle/convention.gradle74
1 files changed, 0 insertions, 74 deletions
diff --git a/gradle/convention.gradle b/gradle/convention.gradle
deleted file mode 100644
index abda03e..0000000
--- a/gradle/convention.gradle
+++ /dev/null
@@ -1,74 +0,0 @@
- apply plugin: 'java' // Plugin as major conventions
- // apply plugin: 'errorprone'
- apply plugin: 'info'
- apply plugin: 'com.github.ben-manes.versions'
-
- sourceCompatibility = 1.5
-
- // GRADLE-2087 workaround, perform after java plugin
- status = project.hasProperty('preferredStatus')?project.preferredStatus:(version.contains('SNAPSHOT')?'snapshot':'release')
-
- repositories {
- // mavenLocal()
- mavenCentral()
- // jcenter()
- }
-
- dependencies {
- compile 'com.google.code.findbugs:jsr305:2.0.2'
- compile 'org.slf4j:slf4j-api:1.7.12'
-
- testCompile 'junit:junit:4.12'
-
- testRuntime 'ch.qos.logback:logback-classic:1.1.3'
- }
-
- tasks.withType(JavaCompile) {
- // options.incremental = true
- }
-
- javadoc {
- if (!gradle.startParameter.offline)
- options.links "http://docs.oracle.com/javase/7/docs/api/",
- "http://docs.oracle.com/javaee/7/api/",
- "http://docs.guava-libraries.googlecode.com/git/javadoc/"
-
- if (false)
- if (JavaVersion.current().isJava8Compatible())
- options.addStringOption('Xdoclint:none', '-quiet')
- }
-
- test {
- systemProperty 'org.apache.commons.logging.Log', 'org.apache.commons.logging.impl.SimpleLog'
- systemProperty 'org.apache.commons.logging.simplelog.defaultlog', 'debug'
- systemProperty 'org.apache.commons.logging.diagnostics.dest', 'STDERR'
- systemProperty 'org.slf4j.simpleLogger.logFile', 'System.out'
- systemProperty 'org.slf4j.simpleLogger.defaultLogLevel', 'debug'
- systemProperty 'jna.nosys', 'true'
-
- testLogging {
- if (System.properties['test.single']) {
- // events "passed", "skipped", "failed"
- events "started", "passed", "skipped", "failed"
- showExceptions true
- exceptionFormat "full"
- showStandardStreams true
- } else {
- events "started", "skipped", "failed"
- }
-
- debug {
- events "started", "passed", "skipped", "failed", "standard_out", "standard_error"
- exceptionFormat "full"
- }
- }
- }
-
-apply plugin: 'build-announcements'
-apply plugin: 'build-dashboard'
-apply plugin: 'project-report'
-
-// Generate wrapper, which is distributed as part of source to alleviate the need of installing gradle
-wrapper {
- gradleVersion = '2.2.1'
-}