From 47265c10d084ad265bd6803c29951686840c45d5 Mon Sep 17 00:00:00 2001 From: aminecmi Date: Fri, 23 Dec 2022 14:59:58 +0100 Subject: [PATCH] Trying nexus build. --- build.gradle.kts | 10 ++++++---- settings.gradle.kts | 14 +++++++++----- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index ad05c95..1110946 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,10 +17,12 @@ plugins { allprojects { repositories { - google() - mavenCentral() - jcenter() - maven { url = uri("https://www.jitpack.io") } + 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") } } } diff --git a/settings.gradle.kts b/settings.gradle.kts index 749e0ad..4757ff1 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -2,16 +2,20 @@ val pushCache: String by settings pluginManagement { repositories { - google() - gradlePluginPortal() - mavenCentral() + maven { url = uri("https://nexus.amine-louveau.fr/repository/maven-public/")} + // IMPORTANT : Add back when new plugin added + // google() + // gradlePluginPortal() + // mavenCentral() } } dependencyResolutionManagement { repositories { - google() - mavenCentral() + maven { url = uri("https://nexus.amine-louveau.fr/repository/maven-public/")} + // IMPORTANT : Add back when new library added + // google() + // mavenCentral() } }