-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove coveralls and update buildscripts
- Loading branch information
Showing
3 changed files
with
40 additions
and
251 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
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> |
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,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) | ||
} |
This file was deleted.
Oops, something went wrong.