chore: update dependencies

This commit is contained in:
Skylot
2023-06-07 21:20:05 +01:00
parent 83b6ffbba9
commit eb4d540b04
9 changed files with 14 additions and 14 deletions
@@ -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")
@@ -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) {
@@ -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()
}
@@ -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) {