Commit 648f0edc authored by Skylot's avatar Skylot

build: add gitlab-ci

parent 4d9d0884
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
## JADX ## JADX
[![Build Status](https://travis-ci.org/skylot/jadx.png?branch=master)](https://travis-ci.org/skylot/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) [![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) [![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) [![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
**jadx** - Dex to Java decompiler **jadx** - Dex to Java decompiler
...@@ -14,7 +17,7 @@ Command line and GUI tools for produce Java source code from Android Dex and Apk ...@@ -14,7 +17,7 @@ Command line and GUI tools for produce Java source code from Android Dex and Apk
### Downloads ### 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 [github](https://github.com/skylot/jadx/releases)
- from [sourceforge](http://sourceforge.net/projects/jadx/files/) - 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. ...@@ -91,4 +94,4 @@ Also I need to **prioritize** these task for complete most important at first.
--------------------------------------- ---------------------------------------
*Licensed under the Apache 2.0 License* *Licensed under the Apache 2.0 License*
*Copyright 2016 by Skylot* *Copyright 2018 by Skylot*
plugins {
id 'com.github.ksoichiro.console.reporter' version '0.5.0'
}
ext.jadxVersion = file('version').readLines().get(0) ext.jadxVersion = file('version').readLines().get(0)
version = jadxVersion version = jadxVersion
...@@ -5,6 +9,7 @@ allprojects { ...@@ -5,6 +9,7 @@ allprojects {
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'groovy' apply plugin: 'groovy'
apply plugin: 'jacoco' apply plugin: 'jacoco'
apply plugin: 'com.github.ksoichiro.console.reporter'
version = jadxVersion version = jadxVersion
...@@ -72,9 +77,6 @@ task samples(dependsOn: 'jadx-samples:samples') { ...@@ -72,9 +77,6 @@ task samples(dependsOn: 'jadx-samples:samples') {
task testAppCheck(dependsOn: 'jadx-test-app:testAppCheck') { task testAppCheck(dependsOn: 'jadx-test-app:testAppCheck') {
} }
task pitest(overwrite: true, dependsOn: 'jadx-core:pitest') {
}
task cleanBuildDir(type: Delete) { task cleanBuildDir(type: Delete) {
delete buildDir delete buildDir
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment