Forked from drandarov-io/D.R.Y. - Reuse Gradle repository definition
Created
May 28, 2019 18:26
-
-
Save edpichler/acc1599e231053c7ea76459724d7316b to your computer and use it in GitHub Desktop.
D.R.Y. - Reuse Gradle repository definition
This file contains hidden or 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
This works however: | |
#### build.gradle | |
```gradle | |
buildscript { | |
// Repository Configuration | |
ext.repos = { | |
mavenCentral() | |
maven { url 'https://repo.spring.io/milestone' } | |
maven { url 'https://plugins.gradle.org/m2/' } | |
} | |
repositories repos | |
dependencies { | |
. . . | |
} | |
} | |
// Local | |
repositories repos | |
// Global | |
allprojects { | |
repositories repos | |
} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment