chore: update dependencies
This commit is contained in:
+6
-6
@@ -1,6 +1,6 @@
|
||||
plugins {
|
||||
id 'com.github.ben-manes.versions' version '0.36.0'
|
||||
id "com.diffplug.spotless" version "5.9.0"
|
||||
id 'com.github.ben-manes.versions' version '0.38.0'
|
||||
id "com.diffplug.spotless" version "5.11.0"
|
||||
}
|
||||
|
||||
ext.jadxVersion = System.getenv('JADX_VERSION') ?: "dev"
|
||||
@@ -38,11 +38,11 @@ allprojects {
|
||||
|
||||
testImplementation 'ch.qos.logback:logback-classic:1.2.3'
|
||||
testImplementation 'org.hamcrest:hamcrest-library:2.2'
|
||||
testImplementation 'org.mockito:mockito-core:3.7.0'
|
||||
testImplementation 'org.assertj:assertj-core:3.18.1'
|
||||
testImplementation 'org.mockito:mockito-core:3.8.0'
|
||||
testImplementation 'org.assertj:assertj-core:3.19.0'
|
||||
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
|
||||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.1'
|
||||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.1'
|
||||
|
||||
testImplementation 'org.eclipse.jdt.core.compiler:ecj:4.6.1'
|
||||
testCompileOnly 'org.jetbrains:annotations:20.1.0'
|
||||
|
||||
@@ -9,7 +9,7 @@ dependencies {
|
||||
runtimeOnly(project(':jadx-plugins:jadx-smali-input'))
|
||||
runtimeOnly(project(':jadx-plugins:jadx-java-convert'))
|
||||
|
||||
implementation 'com.beust:jcommander:1.78'
|
||||
implementation 'com.beust:jcommander:1.81'
|
||||
implementation 'ch.qos.logback:logback-classic:1.2.3'
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ dependencies {
|
||||
implementation 'com.google.code.gson:gson:2.8.6'
|
||||
implementation 'com.android.tools.build:aapt2-proto:4.1.2-6503028'
|
||||
|
||||
testImplementation 'org.apache.commons:commons-lang3:3.11'
|
||||
testImplementation 'org.apache.commons:commons-lang3:3.12.0'
|
||||
|
||||
testRuntimeOnly(project(':jadx-plugins:jadx-dex-input'))
|
||||
testRuntimeOnly(project(':jadx-plugins:jadx-smali-input'))
|
||||
|
||||
@@ -8,7 +8,7 @@ dependencies {
|
||||
implementation(project(':jadx-core'))
|
||||
|
||||
implementation(project(":jadx-cli"))
|
||||
implementation 'com.beust:jcommander:1.78'
|
||||
implementation 'com.beust:jcommander:1.81'
|
||||
implementation 'ch.qos.logback:logback-classic:1.2.3'
|
||||
|
||||
implementation 'com.fifesoft:rsyntaxtextarea:3.1.2'
|
||||
@@ -16,12 +16,12 @@ dependencies {
|
||||
implementation 'hu.kazocsaba:image-viewer:1.2.3'
|
||||
|
||||
implementation 'com.google.code.gson:gson:2.8.6'
|
||||
implementation 'org.apache.commons:commons-lang3:3.11'
|
||||
implementation 'org.apache.commons:commons-lang3:3.12.0'
|
||||
implementation 'org.apache.commons:commons-text:1.9'
|
||||
|
||||
implementation 'io.reactivex.rxjava2:rxjava:2.2.20'
|
||||
implementation 'io.reactivex.rxjava2:rxjava:2.2.21'
|
||||
implementation "com.github.akarnokd:rxjava2-swing:0.3.7"
|
||||
implementation 'com.android.tools.build:apksig:4.1.1'
|
||||
implementation 'com.android.tools.build:apksig:4.1.2'
|
||||
}
|
||||
|
||||
application {
|
||||
|
||||
@@ -6,8 +6,8 @@ dependencies {
|
||||
api(project(":jadx-plugins:jadx-plugins-api"))
|
||||
|
||||
// TODO: finish own smali printer
|
||||
implementation 'org.smali:baksmali:2.4.0'
|
||||
implementation 'org.smali:baksmali:2.5.2'
|
||||
implementation 'com.google.guava:guava:30.1-jre' // force latest version for smali
|
||||
|
||||
testImplementation 'org.smali:smali:2.4.0' // compile smali files in tests
|
||||
testImplementation 'org.smali:smali:2.5.2' // compile smali files in tests
|
||||
}
|
||||
|
||||
+2
-2
@@ -5,9 +5,9 @@ import java.io.StringWriter;
|
||||
|
||||
import org.jf.baksmali.Adaptors.ClassDefinition;
|
||||
import org.jf.baksmali.BaksmaliOptions;
|
||||
import org.jf.baksmali.formatter.BaksmaliWriter;
|
||||
import org.jf.dexlib2.dexbacked.DexBackedClassDef;
|
||||
import org.jf.dexlib2.dexbacked.DexBackedDexFile;
|
||||
import org.jf.util.IndentingWriter;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@@ -20,7 +20,7 @@ public class SmaliUtils {
|
||||
DexBackedDexFile dexFile = new DexBackedDexFile(null, dexBuf);
|
||||
DexBackedClassDef dexBackedClassDef = new DexBackedClassDef(dexFile, clsDefOffset, 0);
|
||||
ClassDefinition classDefinition = new ClassDefinition(new BaksmaliOptions(), dexBackedClassDef);
|
||||
classDefinition.writeTo(new IndentingWriter(stringWriter));
|
||||
classDefinition.writeTo(new BaksmaliWriter(stringWriter));
|
||||
} catch (Exception e) {
|
||||
LOG.error("Error generating smali", e);
|
||||
stringWriter.append("Error generating smali code: ");
|
||||
|
||||
@@ -8,5 +8,5 @@ dependencies {
|
||||
implementation(project(":jadx-plugins:jadx-dex-input"))
|
||||
implementation(files('lib/dx-1.16.jar'))
|
||||
|
||||
implementation 'org.ow2.asm:asm:9.0'
|
||||
implementation 'org.ow2.asm:asm:9.1'
|
||||
}
|
||||
|
||||
@@ -7,6 +7,6 @@ dependencies {
|
||||
|
||||
implementation(project(":jadx-plugins:jadx-dex-input"))
|
||||
|
||||
implementation 'org.smali:smali:2.4.0'
|
||||
implementation 'org.smali:smali:2.5.2'
|
||||
implementation 'com.google.guava:guava:30.1-jre' // force latest version for smali
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user