Skip to content

Commit

Permalink
Remove coveralls and update buildscripts
Browse files Browse the repository at this point in the history
  • Loading branch information
strazzere committed Sep 28, 2015
1 parent 046202d commit 3ace0dd
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 251 deletions.
32 changes: 17 additions & 15 deletions axmlprinter.iml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.system.id="GRADLE" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
<option name="GRADLE_PROJECT_PATH" value=":" />
</configuration>
</facet>
<facet type="android" name="Android">
<configuration>
<option name="ALLOW_USER_CONFIGURATION" value="false" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<module external.linked.project.id="axmlprinter" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="0.1.0" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/build/classes/main" />
<output-test url="file://$MODULE_DIR$/build/classes/test" />
<exclude-output />
<content url="file://$MODULE_DIR$" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
<excludeFolder url="file://$MODULE_DIR$/build" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="TEST" name="Gradle: junit:junit:4.12" level="project" />
<orderEntry type="library" scope="TEST" name="Gradle: org.mockito:mockito-core:1.10.19" level="project" />
<orderEntry type="library" scope="TEST" name="Gradle: org.hamcrest:hamcrest-core:1.3" level="project" />
<orderEntry type="library" scope="TEST" name="Gradle: org.objenesis:objenesis:2.1" level="project" />
</component>
</module>
58 changes: 23 additions & 35 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -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)
}
201 changes: 0 additions & 201 deletions config/checkstyle/checkstyle.xml

This file was deleted.

0 comments on commit 3ace0dd

Please sign in to comment.