Files
AutoJs6/libs/dev.rikka.shizuku-provider-13.1.5/build.gradle.kts

9 lines
329 B
Kotlin

"provider-13.1.5.aar"
.let { path ->
rootProject.extra["configurationName"].toString().let { name ->
configurations.maybeCreate(name)
file(path).takeIf { it.exists() }?.also {
artifacts.add(name, it)
} ?: throw Exception("File not found: \"$path\"")
}
}