Files
AutoJs6/libs/jackpal-androidterm-emulatorview-1_0_42/build.gradle.kts

9 lines
334 B
Kotlin

"emulatorview-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\"")
}
}