Commit a9ae9716 authored by Skylot's avatar Skylot

build: remove gradle plugins, update gradle to 2.14.1 (#145)

parent 913a5b5d
...@@ -11,18 +11,11 @@ script: ...@@ -11,18 +11,11 @@ script:
- TERM=dumb ./gradlew clean build dist - TERM=dumb ./gradlew clean build dist
after_success: after_success:
- TERM=dumb ./gradlew jacocoTestReport coveralls - TERM=dumb ./gradlew jacocoTestReport
- bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
sudo: false sudo: false
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
notifications: notifications:
email: email:
- skylot@gmail.com - skylot@gmail.com
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
[![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://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) [![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)
[![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)
...@@ -90,4 +90,4 @@ Also I need to **prioritize** these task for complete most important at first. ...@@ -90,4 +90,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 2015 by Skylot* *Copyright 2016 by Skylot*
buildscript {
repositories {
mavenCentral()
jcenter()
}
}
plugins {
id "com.github.kt3k.coveralls" version "2.3.1"
id "info.solidsoft.pitest" version "1.1.4"
// id "com.github.ben-manes.versions" version "0.8"
}
ext.jadxVersion = file('version').readLines().get(0) ext.jadxVersion = file('version').readLines().get(0)
version = jadxVersion version = jadxVersion
subprojects { allprojects {
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'groovy' apply plugin: 'groovy'
apply plugin: 'jacoco' apply plugin: 'jacoco'
apply plugin: 'com.github.kt3k.coveralls'
version = jadxVersion version = jadxVersion
...@@ -50,14 +36,14 @@ subprojects { ...@@ -50,14 +36,14 @@ subprojects {
} }
repositories { repositories {
mavenCentral()
mavenLocal() mavenLocal()
mavenCentral()
jcenter() jcenter()
} }
jacocoTestReport { jacocoTestReport {
reports { reports {
xml.enabled = true // coveralls plugin depends on xml format report xml.enabled = true
html.enabled = true html.enabled = true
} }
} }
...@@ -97,6 +83,3 @@ build.dependsOn(dist, samples) ...@@ -97,6 +83,3 @@ build.dependsOn(dist, samples)
clean.dependsOn(cleanBuildDir) clean.dependsOn(cleanBuildDir)
task wrapper(type: Wrapper) {
gradleVersion = '2.7'
}
...@@ -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=https\://services.gradle.org/distributions/gradle-2.7-bin.zip distributionUrl=http\://services.gradle.org/distributions/gradle-2.14.1-bin.zip
ext.jadxClasspath = 'clsp-data/android-5.1.jar' ext.jadxClasspath = 'clsp-data/android-5.1.jar'
apply plugin: "info.solidsoft.pitest"
dependencies { dependencies {
runtime files(jadxClasspath) runtime files(jadxClasspath)
...@@ -14,15 +12,3 @@ dependencies { ...@@ -14,15 +12,3 @@ dependencies {
testCompile 'org.smali:smali:2.0.3' testCompile 'org.smali:smali:2.0.3'
} }
task packTests(type: Jar) {
classifier = 'tests'
from sourceSets.test.output
}
pitest {
excludedMethods = ['toString']
threads = 4
enableDefaultIncrementalAnalysis = true
outputFormats = ['XML', 'HTML']
jvmArgs = ['-Xmx12G']
}
...@@ -41,7 +41,6 @@ startScripts { ...@@ -41,7 +41,6 @@ startScripts {
test { test {
jacoco { jacoco {
// coveralls plugin not support multi-project
enabled = false enabled = false
} }
} }
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