123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- From d1263dbcc33e3f587abbc4bbf8c24c0bb567f194 Mon Sep 17 00:00:00 2001
- From: Georg Koppen <gk@torproject.org>
- Date: Wed, 20 May 2020 14:18:12 +0000
- Subject: [PATCH] mavenLocal() fixes
- ---
- build.gradle | 2 ++
- buildSrc/build.gradle | 1 +
- buildSrc/settings.gradle | 7 ++++++-
- settings.gradle | 7 +++++++
- 4 files changed, 16 insertions(+), 1 deletion(-)
- diff --git a/build.gradle b/build.gradle
- index f412f91f4..944a19e9a 100644
- --- a/build.gradle
- +++ b/build.gradle
- @@ -6,6 +6,7 @@ import static org.gradle.api.tasks.testing.TestResult.ResultType
-
- buildscript {
- repositories {
- + mavenLocal()
- if (project.hasProperty("googleRepo")) {
- maven {
- name "Google"
- @@ -39,6 +40,7 @@ plugins {
-
- allprojects {
- repositories {
- + mavenLocal()
- if (project.hasProperty("googleRepo")) {
- maven {
- name "Google"
- diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle
- index c9f83be52..c01e9ab01 100644
- --- a/buildSrc/build.gradle
- +++ b/buildSrc/build.gradle
- @@ -7,6 +7,7 @@ plugins {
- }
-
- repositories {
- + mavenLocal()
- mavenCentral()
-
- if (project.hasProperty("centralRepo")) {
- diff --git a/buildSrc/settings.gradle b/buildSrc/settings.gradle
- index c31ad3840..fb6526db3 100644
- --- a/buildSrc/settings.gradle
- +++ b/buildSrc/settings.gradle
- @@ -1,10 +1,15 @@
- /* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
- +pluginManagement {
- + repositories {
- + mavenLocal()
- + }
- +}
-
- buildCache {
- local {
- directory = new File(rootDir, '../.build-cache')
- removeUnusedEntriesAfterDays = 30
- }
- -}
- \ No newline at end of file
- +}
- diff --git a/settings.gradle b/settings.gradle
- index e1204312f..428e9ddcd 100644
- --- a/settings.gradle
- +++ b/settings.gradle
- @@ -4,8 +4,15 @@
-
- import org.yaml.snakeyaml.Yaml
-
- +pluginManagement {
- + repositories {
- + mavenLocal()
- + }
- +}
- +
- buildscript {
- repositories {
- + mavenLocal()
- if (hasProperty("centralRepo")) {
- maven {
- name "MavenCentral"
|