Files
AutoJs6/libs/jackpal-androidterm-libtermexec-1_0/build.gradle.kts

9 lines
333 B
Kotlin

"libtermexec-release.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\"")
}
}