提交 a1247f4d 编写于 作者: S Skylot

chore: update dependencies

上级 52412dfe
plugins { plugins {
id 'com.github.ben-manes.versions' version '0.36.0' id 'com.github.ben-manes.versions' version '0.38.0'
id "com.diffplug.spotless" version "5.9.0" id "com.diffplug.spotless" version "5.11.0"
} }
ext.jadxVersion = System.getenv('JADX_VERSION') ?: "dev" ext.jadxVersion = System.getenv('JADX_VERSION') ?: "dev"
...@@ -38,11 +38,11 @@ allprojects { ...@@ -38,11 +38,11 @@ allprojects {
testImplementation 'ch.qos.logback:logback-classic:1.2.3' testImplementation 'ch.qos.logback:logback-classic:1.2.3'
testImplementation 'org.hamcrest:hamcrest-library:2.2' testImplementation 'org.hamcrest:hamcrest-library:2.2'
testImplementation 'org.mockito:mockito-core:3.7.0' testImplementation 'org.mockito:mockito-core:3.8.0'
testImplementation 'org.assertj:assertj-core:3.18.1' testImplementation 'org.assertj:assertj-core:3.19.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0' testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0' testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.1'
testImplementation 'org.eclipse.jdt.core.compiler:ecj:4.6.1' testImplementation 'org.eclipse.jdt.core.compiler:ecj:4.6.1'
testCompileOnly 'org.jetbrains:annotations:20.1.0' testCompileOnly 'org.jetbrains:annotations:20.1.0'
......
...@@ -9,7 +9,7 @@ dependencies { ...@@ -9,7 +9,7 @@ dependencies {
runtimeOnly(project(':jadx-plugins:jadx-smali-input')) runtimeOnly(project(':jadx-plugins:jadx-smali-input'))
runtimeOnly(project(':jadx-plugins:jadx-java-convert')) 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' implementation 'ch.qos.logback:logback-classic:1.2.3'
} }
......
...@@ -8,7 +8,7 @@ dependencies { ...@@ -8,7 +8,7 @@ dependencies {
implementation 'com.google.code.gson:gson:2.8.6' implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.android.tools.build:aapt2-proto:4.1.2-6503028' 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-dex-input'))
testRuntimeOnly(project(':jadx-plugins:jadx-smali-input')) testRuntimeOnly(project(':jadx-plugins:jadx-smali-input'))
......
...@@ -8,7 +8,7 @@ dependencies { ...@@ -8,7 +8,7 @@ dependencies {
implementation(project(':jadx-core')) implementation(project(':jadx-core'))
implementation(project(":jadx-cli")) 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 'ch.qos.logback:logback-classic:1.2.3'
implementation 'com.fifesoft:rsyntaxtextarea:3.1.2' implementation 'com.fifesoft:rsyntaxtextarea:3.1.2'
...@@ -16,12 +16,12 @@ dependencies { ...@@ -16,12 +16,12 @@ dependencies {
implementation 'hu.kazocsaba:image-viewer:1.2.3' implementation 'hu.kazocsaba:image-viewer:1.2.3'
implementation 'com.google.code.gson:gson:2.8.6' 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 '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.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 { application {
......
...@@ -6,8 +6,8 @@ dependencies { ...@@ -6,8 +6,8 @@ dependencies {
api(project(":jadx-plugins:jadx-plugins-api")) api(project(":jadx-plugins:jadx-plugins-api"))
// TODO: finish own smali printer // 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 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
} }
...@@ -5,9 +5,9 @@ import java.io.StringWriter; ...@@ -5,9 +5,9 @@ import java.io.StringWriter;
import org.jf.baksmali.Adaptors.ClassDefinition; import org.jf.baksmali.Adaptors.ClassDefinition;
import org.jf.baksmali.BaksmaliOptions; import org.jf.baksmali.BaksmaliOptions;
import org.jf.baksmali.formatter.BaksmaliWriter;
import org.jf.dexlib2.dexbacked.DexBackedClassDef; import org.jf.dexlib2.dexbacked.DexBackedClassDef;
import org.jf.dexlib2.dexbacked.DexBackedDexFile; import org.jf.dexlib2.dexbacked.DexBackedDexFile;
import org.jf.util.IndentingWriter;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
...@@ -20,7 +20,7 @@ public class SmaliUtils { ...@@ -20,7 +20,7 @@ public class SmaliUtils {
DexBackedDexFile dexFile = new DexBackedDexFile(null, dexBuf); DexBackedDexFile dexFile = new DexBackedDexFile(null, dexBuf);
DexBackedClassDef dexBackedClassDef = new DexBackedClassDef(dexFile, clsDefOffset, 0); DexBackedClassDef dexBackedClassDef = new DexBackedClassDef(dexFile, clsDefOffset, 0);
ClassDefinition classDefinition = new ClassDefinition(new BaksmaliOptions(), dexBackedClassDef); ClassDefinition classDefinition = new ClassDefinition(new BaksmaliOptions(), dexBackedClassDef);
classDefinition.writeTo(new IndentingWriter(stringWriter)); classDefinition.writeTo(new BaksmaliWriter(stringWriter));
} catch (Exception e) { } catch (Exception e) {
LOG.error("Error generating smali", e); LOG.error("Error generating smali", e);
stringWriter.append("Error generating smali code: "); stringWriter.append("Error generating smali code: ");
......
...@@ -8,5 +8,5 @@ dependencies { ...@@ -8,5 +8,5 @@ dependencies {
implementation(project(":jadx-plugins:jadx-dex-input")) implementation(project(":jadx-plugins:jadx-dex-input"))
implementation(files('lib/dx-1.16.jar')) 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 { ...@@ -7,6 +7,6 @@ dependencies {
implementation(project(":jadx-plugins:jadx-dex-input")) 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 implementation 'com.google.guava:guava:30.1-jre' // force latest version for smali
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册