Skip to content

Commit e4a4c85

Browse files
Use plugin management
1 parent 4e1ca04 commit e4a4c85

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

build.gradle

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,3 @@ buildscript {
1515
}
1616
}
1717

18-
allprojects {
19-
repositories {
20-
google()
21-
mavenCentral()
22-
maven { url 'https://jitpack.io' }
23-
}
24-
}

settings.gradle

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
pluginManagement {
2+
repositories {
3+
google()
4+
mavenCentral()
5+
gradlePluginPortal()
6+
}
7+
}
8+
9+
dependencyResolutionManagement {
10+
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
11+
repositories {
12+
google()
13+
mavenCentral()
14+
maven { url 'https://jitpack.io' }
15+
}
16+
}
17+
118
rootProject.name = "protect"
219
include ':protect'
320
// include ':app'

0 commit comments

Comments
 (0)