forked from Typraeurion/Android-ToDo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle
More file actions
49 lines (43 loc) · 1.68 KB
/
Copy pathsettings.gradle
File metadata and controls
49 lines (43 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
pluginManagement {
/**
* The pluginManagement.repositories block configures the
* repositories Gradle uses to search or download the Gradle
* plugins and their transitive dependencies. Gradle pre-configures
* support for remote repositories such as JCenter, Maven Central,
* and Ivy. You can also use local repositories or define your own
* remote repositories. Here we define the Gradle Plugin Portal,
* Google's Maven repository, and the Maven Central Repository as
* the repositories Gradle should use to look for its dependencies.
*/
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
/**
* The dependencyResolutionManagement.repositories
* block is where you configure the repositories and dependencies
* used by all modules in your project, such as libraries that you
* are using to create your application. However, you should
* configure module-specific dependencies in each module-level
* build.gradle file. For new projects, Android Studio includes
* Google's Maven repository and the Maven Central Repository by
* default, but it does not configure any dependencies (unless you
* select a template that requires some).
*/
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
rootProject.name = "ToDo"
include ':app'