fix(build): use Kotlin with explicit project dependency

This commit is contained in:
Skylot
2023-05-17 16:19:18 +01:00
parent 5d3c96ead2
commit ae1b1ce99e
12 changed files with 33 additions and 13 deletions
@@ -1,10 +0,0 @@
package jadx.core.utils.log
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) }