1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- apply from: configPath
- apply from: "$scriptPath/android_app.gradle"
- apply from: protobufNanoConfig
- android {
- namespace 'com.android.launcher3'
- defaultConfig {
- versionCode 22
- versionName "5.1"
- }
- flavorDimensions = ["app"]
- productFlavors {
- aosp {
- dimension "app"
- }
- }
- sourceSets {
- main {
- manifest.srcFile "$launcherCode/AndroidManifest.xml"
- res.srcDir "$launcherCode/res"
- java.srcDir "$launcherCode/src"
- proto {
- srcDirs = ["$launcherCode/protos"]
- }
- }
- aosp {
- res.srcDir "$launcherCode/WallpaperPicker/res"
- java.srcDir "$launcherCode/WallpaperPicker/src"
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- implementation 'com.android.support:support-v13:24.2.0'
- }
- protobuf {
- generateProtoTasks {
- all().each { task ->
- task.builtins {
- javanano {
- option "java_package=backup.proto|com.android.launcher3.backup"
- }
- }
- }
- }
- }
|