Files
jadx/jadx-plugins/jadx-script/examples/build.gradle.kts
T
2024-01-15 22:18:45 +03:00

31 lines
731 B
Kotlin

plugins {
id("jadx-kotlin")
}
dependencies {
implementation(project(":jadx-plugins:jadx-script:jadx-script-runtime"))
implementation(kotlin("stdlib-common"))
implementation(kotlin("script-runtime"))
implementation("io.github.oshai:kotlin-logging-jvm:6.0.3")
// script context support in IDE is poor, use stubs and manual imports for now
// kotlinScriptDef(project(":jadx-plugins:jadx-script:jadx-script-runtime"))
// manual imports (IDE can't import dependencies by scripts annotations)
implementation("com.github.javafaker:javafaker:1.0.2")
implementation("org.apache.commons:commons-text:1.11.0")
}
sourceSets {
main {
kotlin.srcDirs(
"scripts",
"scripts/deobf",
"scripts/gui",
"context",
)
}
}