[skip ci] Configure new nexus repo url
diff --git a/build.gradle b/build.gradle
index 226b6eb..5df0ada 100644
--- a/build.gradle
+++ b/build.gradle
@@ -125,3 +125,12 @@
     includeEmptyDirs = false
     exclude 'com/demo/**'
 }
+if (version.endsWith('-SNAPSHOT')) {
+    nexusPublishing {
+        repositories {
+            sonatype {
+                nexusUrl = uri("https://s01.oss.sonatype.org/service/local/")
+            }
+        }
+    }
+}