fix(build): use Kotlin with explicit project dependency
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
plugins {
|
||||
id("jadx-library")
|
||||
id("jadx-kotlin")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
-1
@@ -5,7 +5,6 @@ import jadx.core.dex.attributes.nodes.RenameReasonAttr
|
||||
import jadx.core.dex.nodes.ClassNode
|
||||
import jadx.core.dex.nodes.MethodNode
|
||||
import jadx.core.utils.Utils
|
||||
import jadx.core.utils.log.LOG
|
||||
import jadx.plugins.kotlin.metadata.model.ClassAliasRename
|
||||
import jadx.plugins.kotlin.metadata.model.CompanionRename
|
||||
import jadx.plugins.kotlin.metadata.model.FieldRename
|
||||
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
package jadx.plugins.kotlin.metadata.utils
|
||||
|
||||
import org.slf4j.Logger
|
||||
import org.slf4j.LoggerFactory
|
||||
|
||||
inline val <reified T : Any> T.LOG: Logger get() = LoggerFactory.getLogger(T::class.java)
|
||||
|
||||
inline fun <reified T : Any, R> T.runCatchingLog(msg: String? = null, block: () -> R) =
|
||||
runCatching(block)
|
||||
.onFailure { LOG.error(msg.orEmpty(), it) }
|
||||
-1
@@ -14,7 +14,6 @@ import jadx.core.dex.nodes.BlockNode
|
||||
import jadx.core.dex.nodes.InsnNode
|
||||
import jadx.core.dex.nodes.MethodNode
|
||||
import jadx.core.utils.BlockUtils
|
||||
import jadx.core.utils.log.LOG
|
||||
import jadx.plugins.kotlin.metadata.model.FieldRename
|
||||
import jadx.plugins.kotlin.metadata.model.ToStringRename
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
plugins {
|
||||
id("jadx-kotlin")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":jadx-plugins:jadx-script:jadx-script-runtime"))
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
plugins {
|
||||
id("jadx-kotlin")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":jadx-plugins:jadx-script:jadx-script-runtime"))
|
||||
implementation(project(":jadx-plugins:jadx-script:jadx-script-plugin"))
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
plugins {
|
||||
id("jadx-library")
|
||||
id("jadx-kotlin")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
plugins {
|
||||
id("jadx-library")
|
||||
id("jadx-kotlin")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
Reference in New Issue
Block a user