feat: add base scripting support
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
@file:Suppress("MayBeConstant", "unused")
|
||||
|
||||
import jadx.plugins.script.runtime.JadxScriptInstance
|
||||
import mu.KotlinLogging
|
||||
|
||||
/**
|
||||
* Stubs for JadxScriptBaseClass script super class
|
||||
*/
|
||||
|
||||
val log = KotlinLogging.logger("JadxScript")
|
||||
val scriptName = "script"
|
||||
|
||||
fun getJadxInstance(): JadxScriptInstance {
|
||||
throw IllegalStateException("Stub method!")
|
||||
}
|
||||
|
||||
/**
|
||||
* Annotations for maven imports
|
||||
*/
|
||||
@Target(AnnotationTarget.FILE)
|
||||
@Repeatable
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class DependsOn(vararg val artifactsCoordinates: String, val options: Array<String> = [])
|
||||
|
||||
@Target(AnnotationTarget.FILE)
|
||||
@Repeatable
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class Repository(vararg val repositoriesCoordinates: String, val options: Array<String> = [])
|
||||
Reference in New Issue
Block a user