Skip to content
Snippets Groups Projects
Commit 13015c3f authored by dgelessus's avatar dgelessus
Browse files

Use Sonatype Snapshots repo only when the current version is a snapshot

parent f082b92f
Branches
Tags
No related merge requests found
......@@ -17,11 +17,13 @@ project.targetCompatibility = '1.7'
repositories {
mavenCentral()
if (isSnapshot) {
maven {
name "sonatype snapshots"
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment