Wednesday, 10 July 2019

Android Studio 3 - Override Gradle Version

I'm setting up my app to migrate to Android Studio 3, but I'm running into some issues with the gradle version.

The docs say to upgrade to at least Gradle 4.0-milestone-1 but I want to keep these migration changes on a separate branch until it's stable. That way I can use AS 3.0, and if something doesn't work I can quickly switch back to using 2.3.

The problem is that I can't find any way to override the gradle version in gradle-wrapper.properties so that for AS 3.0 it'll use 4.0-milestone-2 and for AS 2.3 it'll use 3.X.

Anyone have any ideas on how I can do that?



from Android Studio 3 - Override Gradle Version

No comments:

Post a Comment