mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
fix(templates): remove viewBinding build feature from compose template due not necessary
I'm trying to learn a little how the project is structured, so starting with a few things This build feature is not used when building apps with jetpack compose, so I'm removing it from the build files
This commit is contained in:
committed by
Akash Yadav
parent
3abc07cbae
commit
89df8f208b
+2
-2
@@ -76,7 +76,7 @@ android {
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
viewBinding = true
|
||||
${if (!isComposeModule) "viewBinding = true" else ""}
|
||||
${if (isComposeModule) "compose = true" else ""}
|
||||
}
|
||||
${if(isComposeModule) composeConfigKts() else ""}
|
||||
@@ -125,7 +125,7 @@ android {
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
viewBinding true
|
||||
${if (!isComposeModule) "viewBinding true" else ""}
|
||||
${if (isComposeModule) "compose true" else ""}
|
||||
}
|
||||
${if(isComposeModule) composeConfigGroovy() else ""}
|
||||
|
||||
Reference in New Issue
Block a user