Reputation: 6778
Currently, when I create a new Android Studio project, the project build.gradle file looks like so (in part):
buildscript {
repositories {
jcenter()
}
Because I'm behind a firewall, I have to manually change it to this:
buildscript {
repositories {
jcenter {
url "http://jcenter.bintray.com/"
}
Not a big deal, but is there a way to have Android Studio do this by default?
Upvotes: 1
Views: 1858
Reputation: 1314
You can probably change the default template at the path:
<android-studio>/plugins/android/lib/templates/gradle-projects/NewAndroidProject/root/build.gradle.ftl
Upvotes: 2