6.7.0 - Alpha6 - 使用 Gradle 约定插件简化本地 AAR 库加载逻辑
This commit is contained in:
1 parent
b83ce13d0e
commit
35fbcbda42
22 files changed
+147
-149
No files matched your search
@@ -1,9 +1,7 @@
|
||||
"recyclerview-flexibledivider-1.4.0.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\"")
|
||||
}
|
||||
}
|
||||
plugins {
|
||||
id("org.autojs.build.local-arr-register-convention")
|
||||
}
|
||||
|
||||
localAars {
|
||||
files += "recyclerview-flexibledivider-1.4.0.aar"
|
||||
}
|
||||
Reference in new issue
Block a user