apply from: configPath ext { codePath = "${rootDir}/${rootDirName}/${launcherPath}" } apply from: "$scriptPath/android_app.gradle" apply from: protobufConfig apply from: frameworkDependencies apply plugin: 'kotlin-android' android { namespace 'com.android.launcher3' defaultConfig { versionCode 34 versionName "14.0" } flavorDimensions = ["app", "recents"] productFlavors { aosp { dimension "app" } withQuickstep { dimension "recents" } } sourceSets { main { res.srcDirs = ["$codePath/res"] java.srcDir "$codePath/src" java.srcDir "$codePath/src_plugins" java.srcDir "$codePath/src_build_config" java.srcDir "$codePath/tests/shared" manifest.srcFile "$codePath/AndroidManifest-common.xml" proto { srcDir "$codePath/protos/" } } aosp { java.srcDir "$codePath/src_flags" java.srcDir "$codePath/src_shortcuts_overrides" } aospWithQuickstep { manifest.srcFile "$codePath/quickstep/AndroidManifest-launcher.xml" } withQuickstep { java.srcDir "$codePath/quickstep/src" java.srcDir "$codePath/quickstep/recents_ui_overrides/src" res.srcDir "$codePath/quickstep/res" res.srcDir "$codePath/quickstep/recents_ui_overrides/res" manifest.srcFile "$codePath/quickstep/AndroidManifest.xml" proto { srcDirs = ["$codePath/quickstep/protos_overrides"] } } } kotlinOptions { jvmTarget = "17" } } dependencies { implementation "androidx.core:core:1.13.0" implementation "androidx.fragment:fragment:${ANDROID_X_VERSION}" implementation "androidx.dynamicanimation:dynamicanimation:$ANDROID_X_VERSION_BASE" implementation "androidx.recyclerview:recyclerview:1.3.2" implementation "androidx.preference:preference:1.2.1" implementation "androidx.constraintlayout:constraintlayout:2.0.0" implementation "com.google.android.material:material:1.4.0" implementation "androidx.slice:slice-core:1.1.0-alpha02" implementation "androidx.slice:slice-builders:1.1.0-alpha02" implementation 'com.airbnb.android:lottie:3.3.0' implementation project(":$rootDirName:IconLoader") implementation project(":$rootDirName:SystemUI:PluginCoreLib") implementation project(":$rootDirName:SystemUI:SystemUISharedLib") implementation project(":$rootDirName:SystemUI:SystemUIAnimationLib") implementation project(":$rootDirName:SystemUI:SysUiStatsLog") implementation project(":$rootDirName:SystemUI:AnimationLib") implementation project(":$rootDirName:SystemUI:SystemUIUnfoldLib") implementation project(":$rootDirName:SystemUI:ViewCapture") implementation project(":$rootDirName:WindowManager:Shell") }