提交 7669fa15 编写于 作者: S Skylot

update dependencies, add coveralls badge

上级 e49ba619
...@@ -3,10 +3,18 @@ jdk: ...@@ -3,10 +3,18 @@ jdk:
- oraclejdk7 - oraclejdk7
- openjdk7 - openjdk7
- openjdk6 - openjdk6
env:
- TERM=dumb
before_install: before_install:
- chmod +x gradlew - chmod +x gradlew
script: script:
- TERM=dumb ./gradlew clean build dist - ./gradlew clean build dist
after_success:
- ./gradlew jacocoTestReport coveralls
notifications: notifications:
email: email:
- skylot@gmail.com - skylot@gmail.com
## JADX ## JADX
[![Build Status](https://travis-ci.org/skylot/jadx.png?branch=master)](https://travis-ci.org/skylot/jadx)
[![Build Status](https://drone.io/github.com/skylot/jadx/status.png)](https://drone.io/github.com/skylot/jadx/latest)
[![Coverage Status](https://coveralls.io/repos/skylot/jadx/badge.png)](https://coveralls.io/r/skylot/jadx)
**jadx** - Dex to Java decompiler **jadx** - Dex to Java decompiler
Command line and GUI tools for produce Java source code from Android Dex and Apk files Command line and GUI tools for produce Java source code from Android Dex and Apk files
Note: jadx-gui now in experimental stage
### Downloads ### Downloads
- [unstable](https://drone.io/github.com/skylot/jadx/files) - [unstable](https://drone.io/github.com/skylot/jadx/files)
[![Build Status](https://drone.io/github.com/skylot/jadx/status.png)](https://drone.io/github.com/skylot/jadx/latest)
[![Build Status](https://travis-ci.org/skylot/jadx.png?branch=master)](https://travis-ci.org/skylot/jadx)
- from [github](https://github.com/skylot/jadx/releases) - from [github](https://github.com/skylot/jadx/releases)
- from [sourceforge](http://sourceforge.net/projects/jadx/files/) - from [sourceforge](http://sourceforge.net/projects/jadx/files/)
...@@ -51,4 +52,4 @@ Example: ...@@ -51,4 +52,4 @@ Example:
*Licensed under the Apache 2.0 License* *Licensed under the Apache 2.0 License*
*Copyright 2013 by Skylot* *Copyright 2014 by Skylot*
...@@ -6,8 +6,7 @@ apply plugin: 'sonar-runner' ...@@ -6,8 +6,7 @@ apply plugin: 'sonar-runner'
subprojects { subprojects {
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'jacoco' apply plugin: 'jacoco'
apply plugin: 'idea' apply plugin: 'coveralls'
apply plugin: 'eclipse'
sourceCompatibility = 1.6 sourceCompatibility = 1.6
targetCompatibility = 1.6 targetCompatibility = 1.6
...@@ -30,15 +29,34 @@ subprojects { ...@@ -30,15 +29,34 @@ subprojects {
} }
dependencies { dependencies {
compile 'org.slf4j:slf4j-api:1.7.6' compile 'org.slf4j:slf4j-api:1.7.7'
testCompile 'junit:junit:4.11' testCompile 'junit:junit:4.11'
testCompile 'org.mockito:mockito-core:1.9.5' testCompile 'org.mockito:mockito-core:1.9.5'
testCompile 'ch.qos.logback:logback-classic:1.1.1' testCompile 'ch.qos.logback:logback-classic:1.1.2'
} }
repositories { repositories {
mavenCentral() mavenCentral()
} }
jacocoTestReport {
reports {
xml.enabled = true // coveralls plugin depends on xml format report
html.enabled = true
}
}
}
// setup coveralls (http://coveralls.io/)
// see http://github.com/kt3k/coveralls-gradle-plugin
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:0.4.0'
}
} }
task copyArtifacts(type: Sync, dependsOn: ['jadx-cli:installApp', 'jadx-gui:installApp']) { task copyArtifacts(type: Sync, dependsOn: ['jadx-cli:installApp', 'jadx-gui:installApp']) {
...@@ -69,5 +87,5 @@ task clean(type: Delete) { ...@@ -69,5 +87,5 @@ task clean(type: Delete) {
} }
task wrapper(type: Wrapper) { task wrapper(type: Wrapper) {
gradleVersion = '1.11' gradleVersion = '1.12'
} }
...@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME ...@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip distributionUrl=http\://services.gradle.org/distributions/gradle-1.12-bin.zip
...@@ -5,8 +5,8 @@ applicationName = 'jadx' ...@@ -5,8 +5,8 @@ applicationName = 'jadx'
dependencies { dependencies {
compile(project(':jadx-core')) compile(project(':jadx-core'))
compile 'com.beust:jcommander:1.30' compile 'com.beust:jcommander:1.35'
compile 'ch.qos.logback:logback-classic:1.1.1' compile 'ch.qos.logback:logback-classic:1.1.2'
} }
startScripts { startScripts {
......
...@@ -26,3 +26,10 @@ applicationDistribution.with { ...@@ -26,3 +26,10 @@ applicationDistribution.with {
} }
} }
test {
jacoco {
// coveralls plugin not support multi-project
enabled = false
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册