From 3ace0dd11bb8ea10376e7ebc56d298fba0d66e5e Mon Sep 17 00:00:00 2001 From: Tim Strazzere Date: Mon, 28 Sep 2015 15:12:37 -0700 Subject: [PATCH] Remove coveralls and update buildscripts --- axmlprinter.iml | 32 ++--- build.gradle | 58 ++++----- config/checkstyle/checkstyle.xml | 201 ------------------------------- 3 files changed, 40 insertions(+), 251 deletions(-) delete mode 100644 config/checkstyle/checkstyle.xml diff --git a/axmlprinter.iml b/axmlprinter.iml index 397f459..9358616 100644 --- a/axmlprinter.iml +++ b/axmlprinter.iml @@ -1,20 +1,22 @@ - - - - - - - - - - - - + + + + - + + + + + + + + + + + + + \ No newline at end of file diff --git a/build.gradle b/build.gradle index baa51bf..a65165c 100644 --- a/build.gradle +++ b/build.gradle @@ -1,59 +1,47 @@ apply plugin: 'java' -apply plugin: 'eclipse' -apply plugin: 'checkstyle' apply plugin: 'jacoco' apply plugin: 'com.github.kt3k.coveralls' version = '0.1.0' -buildscript { - repositories { +repositories { mavenCentral() jcenter() - } - - dependencies { - classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.4.0' - } } -checkstyle { - toolVersion '6.1.1' +buildscript { + repositories { + mavenCentral() + } + dependencies { + classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.4.0' + } } allprojects { - repositories { - mavenLocal() - mavenCentral() - } - - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" - } + tasks.withType(JavaCompile) { + options.compilerArgs << "-Xlint:unchecked" + } } jacocoTestReport { - reports { - html.enabled = true - xml.enabled = true - csv.enabled = false - } + reports { + html.enabled = true + xml.enabled = true + csv.enabled = false + } } dependencies { - testCompile 'junit:junit:4.12' - testCompile 'org.mockito:mockito-core:1.10.19' + testCompile 'junit:junit:4.12' + testCompile 'org.mockito:mockito-core:1.10.19' } jar { - manifest { - attributes 'Main-Class': 'diff.rednaga.AXMLPrinter' - } - - processResources.inputs.property('version', version) - processResources.expand('version': version) -} + manifest { + attributes 'Main-Class': 'diff.rednaga.AXMLPrinter' + } -task wrapper(type: Wrapper) { - gradleVersion = '2.7' + processResources.inputs.property('version', version) + processResources.expand('version': version) } \ No newline at end of file diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml deleted file mode 100644 index 355dd9d..0000000 --- a/config/checkstyle/checkstyle.xml +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -