6.7.0 - Alpha6 - Gradle 脚本由 buildSrc 迁移至 build-logic 并启用类型安全访问器
This commit is contained in:
BIN
libs/apk-parser-1_0_2/apk-parser-1.0.2.aar
Normal file
BIN
libs/apk-parser-1_0_2/apk-parser-1.0.2.aar
Normal file
Binary file not shown.
9
libs/apk-parser-1_0_2/build.gradle.kts
Normal file
9
libs/apk-parser-1_0_2/build.gradle.kts
Normal file
@@ -0,0 +1,9 @@
|
||||
"apk-parser-1.0.2.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\"")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user