12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- apply from: configPath
- apply from: "$scriptPath/android_app.gradle"
- apply from: protobufNanoConfig
- android {
- namespace 'com.android.launcher3'
- defaultConfig {
- versionCode 23
- versionName "6.0"
- }
- sourceSets {
- main {
- res.srcDirs = ["$launcherCode/res", "$launcherCode/WallpaperPicker/res"]
- java.srcDirs = ["$launcherCode/src", "$launcherCode/WallpaperPicker/src"]
- manifest.srcFile "$launcherCode/AndroidManifest.xml"
- proto.srcDirs "$launcherCode/protos/"
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- implementation 'com.android.support:support-v4:23.1.1'
- implementation 'com.android.support:recyclerview-v7:23.1.1'
- }
- protobuf {
- generateProtoTasks {
- all().each { task ->
- task.builtins {
- javanano {
- option "java_package=backup.proto|com.android.launcher3.backup"
- }
- }
- }
- }
- }
|