Peter Cai
b580193624
...extract all common dependencies to a new module, app-deps, and then run LineageOS's GenerateBp plugin based on that. The resulting Android.bp file is a java_defaults that can be used from the main Android.bp. Note that the prebuilt binaries are placed in app-deps/libs by GenerateBp. This directory is explicitly excluded by .gitignore. These binaries should be copied to another repository (android_prebuilts_openeuicc-deps) manually.
33 lines
739 B
Text
33 lines
739 B
Text
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
buildscript {
|
|
repositories {
|
|
maven("https://raw.githubusercontent.com/lineage-next/gradle-generatebp/4356136ecccc68cf6796a5dcd2388c66b80e0c11/.m2")
|
|
}
|
|
|
|
dependencies {
|
|
classpath("org.lineageos:gradle-generatebp:+")
|
|
}
|
|
}
|
|
|
|
rootProject.name = "OpenEUICC"
|
|
include(":app")
|
|
include(":libs:hidden-apis-stub")
|
|
include(":libs:hidden-apis-shim")
|
|
include(":libs:lpac-jni")
|
|
include(":app-common")
|
|
include(":app-unpriv")
|
|
include(":app-deps")
|