Commit ab040d36 authored by Skylot's avatar Skylot

update all dependencies (#229)

parent a2781b5b
plugins { plugins {
id 'com.github.ksoichiro.console.reporter' version '0.5.0' id 'com.github.ksoichiro.console.reporter' version '0.5.0'
id 'org.sonarqube' version '2.4' id 'org.sonarqube' version '2.6.2'
id 'com.github.ben-manes.versions' version '0.17.0'
} }
ext.jadxVersion = file('version').readLines().get(0) ext.jadxVersion = file('version').readLines().get(0)
...@@ -31,14 +32,14 @@ allprojects { ...@@ -31,14 +32,14 @@ allprojects {
} }
dependencies { dependencies {
compile 'org.slf4j:slf4j-api:1.7.10' compile 'org.slf4j:slf4j-api:1.7.25'
testCompile 'ch.qos.logback:logback-classic:1.1.2' testCompile 'ch.qos.logback:logback-classic:1.2.3'
testCompile 'junit:junit:4.12' testCompile 'junit:junit:4.12'
testCompile 'org.hamcrest:hamcrest-library:1.3' testCompile 'org.hamcrest:hamcrest-library:1.3'
testCompile 'org.mockito:mockito-core:1.10.19' testCompile 'org.mockito:mockito-core:2.15.0'
testCompile 'org.spockframework:spock-core:1.0-groovy-2.4' testCompile 'org.spockframework:spock-core:1.1-groovy-2.4'
testCompile 'cglib:cglib-nodep:3.1' testCompile 'cglib:cglib-nodep:3.2.6'
} }
repositories { repositories {
...@@ -47,6 +48,9 @@ allprojects { ...@@ -47,6 +48,9 @@ allprojects {
jcenter() jcenter()
} }
jacoco {
toolVersion = "0.8.0"
}
jacocoTestReport { jacocoTestReport {
reports { reports {
xml.enabled = true xml.enabled = true
...@@ -62,6 +66,19 @@ sonarqube { ...@@ -62,6 +66,19 @@ sonarqube {
} }
} }
dependencyUpdates.resolutionStrategy = {
componentSelection { rules ->
rules.all { ComponentSelection selection ->
boolean rejected = ['alpha', 'beta', 'rc', 'cr', 'm', 'atlassian'].any { qualifier ->
selection.candidate.version ==~ /(?i).*[.-]${qualifier}[.\d-]*/
}
if (rejected) {
selection.reject('Release candidate')
}
}
}
}
task copyArtifacts(type: Sync, dependsOn: ['jadx-cli:installDist', 'jadx-gui:installDist']) { task copyArtifacts(type: Sync, dependsOn: ['jadx-cli:installDist', 'jadx-gui:installDist']) {
destinationDir file("$buildDir/jadx") destinationDir file("$buildDir/jadx")
['jadx-cli', 'jadx-gui'].each { ['jadx-cli', 'jadx-gui'].each {
......
...@@ -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-4.4.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-4.5.1-bin.zip
...@@ -6,7 +6,7 @@ applicationName = 'jadx' ...@@ -6,7 +6,7 @@ applicationName = 'jadx'
dependencies { dependencies {
compile(project(':jadx-core')) compile(project(':jadx-core'))
compile 'com.beust:jcommander:1.47' compile 'com.beust:jcommander:1.47'
compile 'ch.qos.logback:logback-classic:1.1.2' compile 'ch.qos.logback:logback-classic:1.2.3'
} }
applicationDistribution.with { applicationDistribution.with {
......
...@@ -5,9 +5,9 @@ dependencies { ...@@ -5,9 +5,9 @@ dependencies {
compile files('lib/dx-1.14.jar') compile files('lib/dx-1.14.jar')
compile 'commons-io:commons-io:2.6' compile 'commons-io:commons-io:2.6'
compile 'org.ow2.asm:asm:5.0.3' compile 'org.ow2.asm:asm:6.0'
compile 'com.intellij:annotations:12.0' compile 'org.jetbrains:annotations:15.0'
compile 'uk.com.robust-it:cloning:1.9.2' compile 'uk.com.robust-it:cloning:1.9.9'
testCompile 'org.smali:smali:2.2.2' testCompile 'org.smali:smali:2.2.2'
testCompile 'org.smali:baksmali:2.2.2' testCompile 'org.smali:baksmali:2.2.2'
......
...@@ -6,7 +6,7 @@ dependencies { ...@@ -6,7 +6,7 @@ dependencies {
compile(project(":jadx-core")) compile(project(":jadx-core"))
compile(project(":jadx-cli")) compile(project(":jadx-cli"))
compile 'com.fifesoft:rsyntaxtextarea:2.6.1' compile 'com.fifesoft:rsyntaxtextarea:2.6.1'
compile 'com.google.code.gson:gson:2.3.1' compile 'com.google.code.gson:gson:2.8.2'
compile files('libs/jfontchooser-1.0.5.jar') compile files('libs/jfontchooser-1.0.5.jar')
compile 'hu.kazocsaba:image-viewer:1.2.3' compile 'hu.kazocsaba:image-viewer:1.2.3'
} }
...@@ -30,7 +30,7 @@ jar { ...@@ -30,7 +30,7 @@ jar {
} }
startScripts { startScripts {
defaultJvmOpts = [ '-Xms2g', '-Xmx4g' ] defaultJvmOpts = [ '-d64', '-Xms512M', '-Xmx4g' ]
doLast { doLast {
def str = windowsScript.text def str = windowsScript.text
str = str.replaceAll('java.exe', 'javaw.exe') str = str.replaceAll('java.exe', 'javaw.exe')
......
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