From 4d8076c3cfbb23101ad31cb8613af838d8ae2cb4 Mon Sep 17 00:00:00 2001 From: aminecmi Date: Thu, 29 Dec 2022 21:34:13 +0100 Subject: [PATCH] build: Added back maven repos (see https://gitlab.com/fdroid/fdroiddata/-/commit/1fb9d60dc58511abc2bb4eb321977922a0682c8b#note_1223925153) --- build.gradle.kts | 10 ++++------ settings.gradle.kts | 16 +++++++--------- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 1110946..388440a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,12 +17,10 @@ plugins { allprojects { repositories { - maven { url = uri("https://nexus.amine-louveau.fr/repository/maven-public/")} - // IMPORTANT : Add back when new library added - // google() - // mavenCentral() - // jcenter() - // maven { url = uri("https://www.jitpack.io") } + // maven { url = uri("https://nexus.amine-louveau.fr/repository/maven-public/")} + google() + mavenCentral() + maven { url = uri("https://www.jitpack.io") } } } diff --git a/settings.gradle.kts b/settings.gradle.kts index 4757ff1..5b7e8e0 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -2,20 +2,18 @@ val pushCache: String by settings pluginManagement { repositories { - maven { url = uri("https://nexus.amine-louveau.fr/repository/maven-public/")} - // IMPORTANT : Add back when new plugin added - // google() - // gradlePluginPortal() - // mavenCentral() + // maven { url = uri("https://nexus.amine-louveau.fr/repository/maven-public/")} + google() + gradlePluginPortal() + mavenCentral() } } dependencyResolutionManagement { repositories { - maven { url = uri("https://nexus.amine-louveau.fr/repository/maven-public/")} - // IMPORTANT : Add back when new library added - // google() - // mavenCentral() + // maven { url = uri("https://nexus.amine-louveau.fr/repository/maven-public/")} + google() + mavenCentral() } }