chore: update dependencies
This commit is contained in:
@@ -6,7 +6,7 @@ plugins {
|
||||
dependencies {
|
||||
api(project(":jadx-core"))
|
||||
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.6.0")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.6.2")
|
||||
|
||||
testImplementation(project(":jadx-core").dependencyProject.sourceSets.test.get().output)
|
||||
testImplementation("org.apache.commons:commons-lang3:3.12.0")
|
||||
|
||||
+2
-1
@@ -42,7 +42,8 @@ class KotlinMetadataDecompilePass(
|
||||
return false
|
||||
}
|
||||
|
||||
override fun visit(mth: MethodNode?) { /* no op */
|
||||
override fun visit(mth: MethodNode?) {
|
||||
/* no op */
|
||||
}
|
||||
|
||||
private fun renameMethodArgs(wrapper: KmClassWrapper) {
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ private fun IAnnotation.getParamsAsList(paramName: String): List<EncodedValue>?
|
||||
private fun IAnnotation.getParamAsStringArray(paramName: String): Array<String>? {
|
||||
return getParamsAsList(paramName)
|
||||
?.map<EncodedValue, Any?>(EncodedValue::getValue)
|
||||
?.onEach { if (it != null && it !is String) /* TODO is this valid ? */ return@onEach }
|
||||
?.onEach { if (it != null && it !is String) return@onEach }
|
||||
?.map { "$it" }
|
||||
?.toTypedArray()
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ class TestKotlinMetadata : SmaliTest() {
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
*/
|
||||
// @formatter:on
|
||||
|
||||
@Test
|
||||
|
||||
@@ -59,6 +59,6 @@ jadx.afterLoad {
|
||||
Start full decompilation (optional):
|
||||
1. jadx-cli start decompilation automatically
|
||||
2. jadx-gui start decompilation only on class open or search, so you might need to force it
|
||||
*/
|
||||
*/
|
||||
// jadx.decompile.all()
|
||||
}
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@ class ScriptEval {
|
||||
Severity.FATAL, Severity.ERROR -> log.error(r.exception) { "Script execution error: $msg" }
|
||||
Severity.WARNING -> log.warn { "Script execution issue: $msg" }
|
||||
Severity.INFO -> log.info { "Script report: $msg" }
|
||||
Severity.DEBUG -> {} /* ignore, too verbose */
|
||||
Severity.DEBUG -> {} // ignore, too verbose
|
||||
}
|
||||
}
|
||||
when (res) {
|
||||
|
||||
Reference in New Issue
Block a user