From 5664494a1da8f09e8f21f5a6e1d6da11462cdc43 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Mon, 8 May 2023 16:09:17 +0530 Subject: [PATCH] Apply ribbon to debug and nightly variant's launcher icon Create a noticeable difference between nightly, debug and stable Signed-off-by: Aayush Gupta --- app/build.gradle | 14 +++++++++++++- build.gradle | 3 ++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 2cae157da..5e8150dd9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -23,7 +23,8 @@ plugins { id 'org.jetbrains.kotlin.android' id 'org.jetbrains.kotlin.kapt' id 'androidx.navigation.safeargs.kotlin' - id "org.jlleitschuh.gradle.ktlint" + id 'org.jlleitschuh.gradle.ktlint' + id 'com.starter.easylauncher' } project.ext { @@ -108,6 +109,17 @@ kapt { correctErrorTypes = true } +easylauncher { + buildTypes { + nightly { + filters chromeLike() + } + debug { + filters chromeLike() + } + } +} + dependencies { //MultiDex for Kitkat support implementation "androidx.multidex:multidex:2.0.1" diff --git a/build.gradle b/build.gradle index e29fba24a..c75527b74 100644 --- a/build.gradle +++ b/build.gradle @@ -22,7 +22,8 @@ plugins { id 'com.android.application' version '8.0.1' apply false id 'org.jetbrains.kotlin.android' version '1.8.21' apply false id 'androidx.navigation.safeargs.kotlin' version '2.5.3' apply false - id "org.jlleitschuh.gradle.ktlint" version '11.3.1' apply false + id 'org.jlleitschuh.gradle.ktlint' version '11.3.1' apply false + id 'com.starter.easylauncher' version '6.1.0' apply false } task clean(type: Delete) {