Skip to content

Instantly share code, notes, and snippets.

@jpertino
Created February 7, 2011 20:38
Show Gist options
  • Save jpertino/815140 to your computer and use it in GitHub Desktop.
Save jpertino/815140 to your computer and use it in GitHub Desktop.
override gradle project repositories in init script
projectsEvaluated {
rootProject.allprojects {
buildscript.repositories {
resolverNames = []
mavenRepo name: 'plugins-repo', urls: 'http://repository.example.org/plugins'
}
repositories {
resolverNames = []
mavenRepo name: 'libs-repo', urls: 'http://repository.example.org/libs'
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment