build: add sonarqube
This commit is contained in:
+4
-1
@@ -14,7 +14,10 @@ build:
|
||||
stage: build
|
||||
script:
|
||||
- sed -i " 1 s/.*/&-b${CI_JOB_ID}/" version
|
||||
- ./gradlew -g /cache/.gradle clean build jacocoTestReport dist
|
||||
- cat version
|
||||
- ./gradlew -g /cache/.gradle clean build jacocoTestReport
|
||||
- ./gradlew -g /cache/.gradle clean sonarqube -Dsonar.host.url=$SONAR_HOST -Dsonar.organization=$SONAR_ORG -Dsonar.login=$SONAR_TOKEN
|
||||
- ./gradlew -g /cache/.gradle clean dist
|
||||
artifacts:
|
||||
paths:
|
||||
- build/jadx*.zip
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
## JADX
|
||||
|
||||
[](https://travis-ci.org/skylot/jadx)
|
||||
[](https://gitlab.com/skylot/jadx/commits/master)
|
||||
[](https://gitlab.com/skylot/jadx/commits/master)
|
||||
[](https://gitlab.com/skylot/jadx/builds)
|
||||
[](https://gitlab.com/skylot/jadx/builds)
|
||||
[](https://codecov.io/gh/skylot/jadx)
|
||||
[](https://scan.coverity.com/projects/2166)
|
||||
[](https://sonarcloud.io/dashboard?id=jadx)
|
||||
[](https://github.com/skylot/jadx/releases/latest)
|
||||
[](https://github.com/skylot/jadx/releases/latest)
|
||||
[](http://www.apache.org/licenses/LICENSE-2.0.html)
|
||||
@@ -23,6 +24,8 @@ Command line and GUI tools for produce Java source code from Android Dex and Apk
|
||||
|
||||
|
||||
### Building from source
|
||||
Java 8 JDK or higher must be installed:
|
||||
|
||||
git clone https://github.com/skylot/jadx.git
|
||||
cd jadx
|
||||
./gradlew dist
|
||||
@@ -38,7 +41,7 @@ Run **jadx** on itself:
|
||||
|
||||
cd build/jadx/
|
||||
bin/jadx -d out lib/jadx-core-*.jar
|
||||
#or
|
||||
# or
|
||||
bin/jadx-gui lib/jadx-core-*.jar
|
||||
|
||||
|
||||
@@ -86,11 +89,6 @@ To support this project you can:
|
||||
* Java code examples which decompiles incorrectly
|
||||
* Error log and link to _public available_ apk file or app page on Google play
|
||||
|
||||
And any other comments will be very helpfull,
|
||||
because at current stage of development it is very time consuming
|
||||
to **find** new bugs, design and implement new features.
|
||||
Also I need to **prioritize** these task for complete most important at first.
|
||||
|
||||
---------------------------------------
|
||||
*Licensed under the Apache 2.0 License*
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
plugins {
|
||||
id 'com.github.ksoichiro.console.reporter' version '0.5.0'
|
||||
id 'org.sonarqube' version '2.4'
|
||||
}
|
||||
|
||||
ext.jadxVersion = file('version').readLines().get(0)
|
||||
@@ -54,6 +55,13 @@ allprojects {
|
||||
}
|
||||
}
|
||||
|
||||
sonarqube {
|
||||
properties {
|
||||
property 'sonar.exclusions', '**/jadx/samples/**/*,**/test-app/**/*'
|
||||
property 'sonar.coverage.exclusions', '**/jadx/gui/**/*'
|
||||
}
|
||||
}
|
||||
|
||||
task copyArtifacts(type: Sync, dependsOn: ['jadx-cli:installDist', 'jadx-gui:installDist']) {
|
||||
destinationDir file("$buildDir/jadx")
|
||||
['jadx-cli', 'jadx-gui'].each {
|
||||
|
||||
Reference in New Issue
Block a user