jmfayard
08/15/2019, 4:13 PMBetter dependency management in Android Studio 3.5 with Gradle buildSrcVersions
https://dev.to/jmfayard/new-in-android-studio-3-5-dependency-management-with-gradle-buildsrcversions-22ia-temp-slug-2042205?preview=373ea29273e40c80e4579a999bbc305e8246511e13d599564be52fba5f20607b13305942fd8c4855b5e1807a66249612df27e19193a563106eb8d275
I will publish once Android Studio 3.5 is released (should be real soon now)changd
08/15/2019, 5:40 PMWith Android Studio 3.5, the new Gradle "buildSrc" module comes to the rescue.This implies that
buildSrc
wasn't available before AS 3.5changd
08/15/2019, 5:44 PMNew in Android Studio 3.5?
section, but i'm still confused because buildSrc
was available for at least 3-4 years afaik.changd
08/15/2019, 5:45 PMWhen you decide you want to update some dependencies, run again the plugin* run the plugin again*
changd
08/15/2019, 5:45 PMI had in mind was to replace those Groovy libraries.gradle files we used to wrotewe used to write
changd
08/15/2019, 5:47 PMYou can put there all the things that are a bit complicated or should be re-used, and keep your build.gradle files nice and tidy.You can put all the things there that are a bit complicated or should be reused
louiscad
08/15/2019, 6:52 PMs
to buildscripts
.jmfayard
08/20/2019, 7:38 AMbuildSrc
what happened in the android world is that the IDE integration didn’t work until Android Studio 3.2 But then the android team didn’t write one line about it to evangelize it, and immediatly after they broke the support in Android Studio. So it’s technically not new but it will be new to most android readers. I rephrased a bit that paragaraph.changd
08/20/2019, 3:58 PM