123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- apply from: configPath
- apply from: "$scriptPath/android_app.gradle"
- apply from: protobufNanoConfig
- android {
- namespace 'com.android.launcher3'
- defaultConfig {
- versionCode 26
- versionName "8.0"
- }
- flavorDimensions = ["app"]
- productFlavors {
- aosp {
- dimension "app"
- }
- }
- sourceSets {
- main {
- res.srcDirs = ["$launcherCode/res"]
- java.srcDirs = ["$launcherCode/src", "$launcherCode/src_config"]
- manifest.srcFile "$launcherCode/AndroidManifest-common.xml"
- proto.srcDirs "$launcherCode/protos/"
- }
- aosp {
- manifest.srcFile "$launcherCode/AndroidManifest.xml"
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- final String SUPPORT_LIBS_VERSION = '26.0.0'
- dependencies {
- implementation "com.android.support:support-v4:${SUPPORT_LIBS_VERSION}"
- implementation "com.android.support:recyclerview-v7:${SUPPORT_LIBS_VERSION}"
- implementation "com.android.support:palette-v7:${SUPPORT_LIBS_VERSION}"
- }
- protobuf {
- generateProtoTasks {
- all().each { task ->
- task.builtins {
- javanano {
- option "java_package=launcher_log.proto|com.android.launcher3.userevent.nano"
- option "enum_style=java"
- }
- }
- }
- }
- }
|