Answer the question
In order to leave comments, you need to log in
How to change serviceDirectoryPath in gradle?
I use Linux and Android Studio. Android Studio (along with settings), SDK, NDK, gradle moved to a separate section (made something like a portable version). In the studio, specified the path in gradle = " /mnt/sda4/Android/.gradle/
". But if you build the application from the command line " ./gradlew build
", then gradle again downloads a lot of files and places them in the standard ~/.gradle folder. How can I specify the path to Google during the build /mnt/sda4/Android/.gradle/
and gradle home and gradle serviceDirectoryPath (this is how the studio specifies the gradle folder, grep found it).
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question