Created
February 3, 2014 22:04
-
-
Save mikeholler/8793369 to your computer and use it in GitHub Desktop.
Examples of different remote Maven repositories: Maven Central, public, and a password protected Sonatype Nexus repository. Make sure to ignore gradle.properties and version control gradle.properties.example.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repositories { | |
mavenCentral() | |
maven { | |
// via https://support.sonatype.com/entries/21596297.html | |
url "http://www.sonatypenexus.com/maven/" | |
credentials { | |
username mavenUser | |
password mavenPass | |
} | |
} | |
maven { | |
url "http://www.bugsense.com/gradle/" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mavenUser=myMavenUser | |
mavenPass=myMavenPass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment