9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-19 15:09:25 +00:00

Update maven repo

This commit is contained in:
Dreeam
2025-07-18 09:17:31 +08:00
parent 61fb23646c
commit 20ff7184f6
4 changed files with 6 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ Building a Paperclip JAR for distribution:
```xml
<repository>
<id>leafmc</id>
<url>https://maven.nostal.ink/repository/maven-snapshots/</url>
<url>https://maven.leafmc.one/snapshots/</url>
</repository>
```
```xml
@@ -73,7 +73,7 @@ Building a Paperclip JAR for distribution:
```kotlin
repositories {
maven {
url = uri("https://maven.nostal.ink/repository/maven-snapshots/")
url = uri("https://maven.leafmc.one/snapshots/")
}
}

View File

@@ -7,7 +7,7 @@ plugins {
}
val paperMavenPublicUrl = "https://repo.papermc.io/repository/maven-public/"
val leafMavenPublicUrl = "https://maven.nostal.ink/repository/maven-snapshots/"
val leafMavenPublicUrl = "https://maven.leafmc.one/snapshots/"
subprojects {
apply(plugin = "java-library")
@@ -23,7 +23,6 @@ subprojects {
mavenCentral()
maven(paperMavenPublicUrl)
maven(leafMavenPublicUrl)
maven("https://repo.bsdevelopment.org/releases/") // Leaf - Leaf config - ConfigurationMaster-API
}
tasks.withType<AbstractArchiveTask>().configureEach {

View File

@@ -4,7 +4,7 @@
}
val paperMavenPublicUrl = "https://repo.papermc.io/repository/maven-public/"
+val leafMavenPublicUrl = "https://maven.nostal.ink/repository/maven-snapshots/" // Leaf - project setup - Add publish repo
+val leafMavenPublicUrl = "https://maven.leafmc.one/snapshots/" // Leaf - project setup - Add publish repo
dependencies {
mache("io.papermc:mache:1.21.4+build.8")

View File

@@ -58,7 +58,7 @@
```xml
<repository>
<id>leafmc</id>
<url>https://maven.nostal.ink/repository/maven-snapshots/</url>
<url>https://maven.leafmc.one/snapshots/</url>
</repository>
```
```xml
@@ -73,7 +73,7 @@
```kotlin
repositories {
maven {
url = uri("https://maven.nostal.ink/repository/maven-snapshots/")
url = uri("https://maven.leafmc.one/snapshots/")
}
}