Skip to content

Instantly share code, notes, and snippets.

@xconnecting
Created October 25, 2012 01:20
Show Gist options
  • Save xconnecting/3949939 to your computer and use it in GitHub Desktop.
Save xconnecting/3949939 to your computer and use it in GitHub Desktop.
dependencies and repositories in Gradle
apply plugin: 'java'
apply plugin: 'eclipse'
dependencies { compile 'commons-lang:commons-lang:2.6' }
repositories {
// Maven central repository
mavenCentral()
// local repository
mavenLocal()
// remote repository
maven { url 'http://repo.example.com/maven' }
// local repository
maven { url 'file:///c:/repo/maven' }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment