From e9258535ce6616744f6360b9683eb890b58236a2 Mon Sep 17 00:00:00 2001 From: Puneet Behl Date: Mon, 14 Mar 2022 21:10:55 +0530 Subject: [PATCH] [skip ci] Configure new nexus repo url --- build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build.gradle b/build.gradle index 226b6eb5..5df0ada9 100644 --- a/build.gradle +++ b/build.gradle @@ -125,3 +125,12 @@ jar { includeEmptyDirs = false exclude 'com/demo/**' } +if (version.endsWith('-SNAPSHOT')) { + nexusPublishing { + repositories { + sonatype { + nexusUrl = uri("https://s01.oss.sonatype.org/service/local/") + } + } + } +}