File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ plugins {
22 id ' com.android.application'
33 id ' org.jetbrains.kotlin.android'
44 id ' android.aop'
5- // id 'com.starter.easylauncher'
5+ id ' com.starter.easylauncher'
66}
77
88apply from : ' ../common.gradle'
@@ -147,25 +147,25 @@ android {
147147}
148148
149149// 应用启动图标配置
150- // easylauncher {
151- // buildTypes {
152- // preview {
153- // filters = [
154- // customRibbon(label: "preview", position: "topRight",
155- // ribbonColor: "#b65656", labelColor: "#FFFFFF")
156- // ]
157- // }
158- // debug {
159- // filters = [
160- // customRibbon(label: "debug", position: "topRight",
161- // ribbonColor: "#b65656", labelColor: "#FFFFFF")
162- // ]
163- // }
164- // release {
165- // enable false
166- // }
167- // }
168- // }
150+ easylauncher {
151+ buildTypes {
152+ preview {
153+ filters = [
154+ customRibbon(label : " preview" , position : " topRight" ,
155+ ribbonColor : " #b65656" , labelColor : " #FFFFFF" )
156+ ]
157+ }
158+ debug {
159+ filters = [
160+ customRibbon(label : " debug" , position : " topRight" ,
161+ ribbonColor : " #b65656" , labelColor : " #FFFFFF" )
162+ ]
163+ }
164+ release {
165+ enable false
166+ }
167+ }
168+ }
169169
170170// 添加构建依赖项:https://developer.android.google.cn/studio/build/dependencies
171171// api 与 implementation 的区别:https://www.jianshu.com/p/8962d6ba936e
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ plugins {
66 // AOP 插件:https://github.com/FlyJingFish/AndroidAOP
77 id ' io.github.flyjingfish.androidaop' version ' 2.7.4' apply false
88 // 多 buildType 图标插件:https://github.com/usefulness/easylauncher-gradle-plugin
9- // id 'com.starter.easylauncher' version '6.1.0 ' apply false
9+ id ' com.starter.easylauncher' version ' 6.4.1 ' apply false
1010}
1111
1212// 导入配置文件
You can’t perform that action at this time.
0 commit comments