Is it possible to run Compose with older Android Gradle Plugin versions? Looks like 7.0.+ versions causes
./gradlew check
to fail with weird lint errors we never had before.
โ 1
๐ 1
b
Bryan Herbst
04/15/2021, 12:30 PM
AGP frequently adds new lint checks in new AGP versions, which is what Iโm guessing you are experiencing. One of the new checks in 7.0.0 encourages you to replace code like
parentFragmentManager!!
with
requireParentFragmentManager()
for example. You can turn those off for your project or suppress them if you want.
To answer your question- yes, you can. Hereโs a good article on doing so: https://marcellogalhardo.dev/posts/2021/03/30/using-compose-beta-on-as-4-1/
Note that you will not have IDE tooling support if you go that route