author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Fri, 08 Jan 2021 13:59:23 +0200 | |
changeset 968 | dc543d247f29 |
parent 836 | ed2feb95716d |
permissions | -rw-r--r-- |
830
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
1 |
allprojects { |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
2 |
// project -> |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
3 |
// buildscript { |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
4 |
// if( !project.hasProperty('skipMavenLocal') ) { |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
5 |
// repositories { |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
6 |
// println "Adding buildscript mavenLocal()" |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
7 |
// mavenLocal() |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
8 |
// } |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
9 |
// configurations.all { |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
10 |
// resolutionStrategy.cacheChangingModulesFor 0, 'hours' |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
11 |
// } |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
12 |
// } |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
13 |
// } |
700
45c5d320d322
http://stackoverflow.com/questions/24454076/how-to-force-gradle-to-use-share-m2-repository-with-maven-system-wide/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
14 |
|
830
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
15 |
// if( !project.hasProperty('skipMavenLocal') ) { |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
16 |
// repositories { |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
17 |
// println "Adding mavenLocal()" |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
18 |
// mavenLocal() |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
19 |
// } |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
20 |
// } |
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
21 |
|
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
22 |
repositories { |
836
ed2feb95716d
Disable noisy output.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
830
diff
changeset
|
23 |
// println "Adding mavenLocal()" |
830
1b48fa26b52c
Include mavenLocal() to gradle builds.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
700
diff
changeset
|
24 |
mavenLocal() |
700
45c5d320d322
http://stackoverflow.com/questions/24454076/how-to-force-gradle-to-use-share-m2-repository-with-maven-system-wide/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
25 |
} |
45c5d320d322
http://stackoverflow.com/questions/24454076/how-to-force-gradle-to-use-share-m2-repository-with-maven-system-wide/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
26 |
} |