diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000..43f111df2 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +image: java:8 + +variables: + GRADLE_OPTS: "-Dorg.gradle.daemon=false" + TERM: "dumb" + +before_script: + - chmod +x gradlew + +stages: + - build + +build: + stage: build + script: + - sed -i " 1 s/.*/&-b${CI_JOB_ID}/" version + - ./gradlew -g /cache/.gradle clean build jacocoTestReport dist + artifacts: + paths: + - build/jadx*.zip diff --git a/README.md b/README.md index 7888f50b3..ace36396f 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,12 @@ ## 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) +[![Build Status](https://gitlab.com/skylot/jadx/badges/master/build.svg)](https://gitlab.com/skylot/jadx/commits/master) +[![coverage report](https://gitlab.com/skylot/jadx/badges/master/coverage.svg)](https://gitlab.com/skylot/jadx/commits/master) [![Code Coverage](https://codecov.io/gh/skylot/jadx/branch/master/graph/badge.svg)](https://codecov.io/gh/skylot/jadx) [![Coverity Scan Build Status](https://scan.coverity.com/projects/2166/badge.svg)](https://scan.coverity.com/projects/2166) +[![Latest release](https://img.shields.io/github/release/skylot/jadx.svg)](https://github.com/skylot/jadx/releases/latest) +[![Latest release downloads](https://img.shields.io/github/downloads/skylot/jadx/latest/total.svg)](https://github.com/skylot/jadx/releases/latest) [![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html) **jadx** - Dex to Java decompiler @@ -14,7 +17,7 @@ Command line and GUI tools for produce Java source code from Android Dex and Apk ### Downloads -- [unstable](https://drone.io/github.com/skylot/jadx/files) +- [unstable](https://gitlab.com/skylot/jadx/builds/artifacts/master/browse/build?job=build) - from [github](https://github.com/skylot/jadx/releases) - from [sourceforge](http://sourceforge.net/projects/jadx/files/) @@ -91,4 +94,4 @@ Also I need to **prioritize** these task for complete most important at first. --------------------------------------- *Licensed under the Apache 2.0 License* -*Copyright 2016 by Skylot* +*Copyright 2018 by Skylot* diff --git a/build.gradle b/build.gradle index db2e08fe2..1599fd2b9 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,7 @@ +plugins { + id 'com.github.ksoichiro.console.reporter' version '0.5.0' +} + ext.jadxVersion = file('version').readLines().get(0) version = jadxVersion @@ -5,6 +9,7 @@ allprojects { apply plugin: 'java' apply plugin: 'groovy' apply plugin: 'jacoco' + apply plugin: 'com.github.ksoichiro.console.reporter' version = jadxVersion @@ -72,9 +77,6 @@ task samples(dependsOn: 'jadx-samples:samples') { task testAppCheck(dependsOn: 'jadx-test-app:testAppCheck') { } -task pitest(overwrite: true, dependsOn: 'jadx-core:pitest') { -} - task cleanBuildDir(type: Delete) { delete buildDir }