aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle4
-rw-r--r--spark-bukkit/build.gradle4
-rw-r--r--spark-fabric/build.gradle8
-rw-r--r--spark-forge/build.gradle1
-rw-r--r--spark-sponge/build.gradle4
-rw-r--r--spark-universal/build.gradle1
-rw-r--r--spark-velocity/build.gradle4
7 files changed, 21 insertions, 5 deletions
diff --git a/build.gradle b/build.gradle
index 4cfb509..8ea1928 100644
--- a/build.gradle
+++ b/build.gradle
@@ -26,12 +26,8 @@ subprojects {
repositories {
mavenCentral()
-
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://repo.lucko.me/" }
- maven { url "https://papermc.io/repo/repository/maven-public/" }
- maven { url "https://repo.spongepowered.org/maven" }
- maven { url "https://repo.velocitypowered.com/releases/" }
}
}
diff --git a/spark-bukkit/build.gradle b/spark-bukkit/build.gradle
index 3d66559..d2d95e7 100644
--- a/spark-bukkit/build.gradle
+++ b/spark-bukkit/build.gradle
@@ -13,6 +13,10 @@ dependencies {
}
}
+repositories {
+ maven { url "https://papermc.io/repo/repository/maven-public/" }
+}
+
processResources {
from(sourceSets.main.resources.srcDirs) {
expand (
diff --git a/spark-fabric/build.gradle b/spark-fabric/build.gradle
index 513f59e..fb2a86f 100644
--- a/spark-fabric/build.gradle
+++ b/spark-fabric/build.gradle
@@ -5,6 +5,11 @@ plugins {
id 'com.github.johnrengelman.shadow' version '4.0.1'
}
+repositories {
+ maven { url 'https://maven.fabricmc.net/' }
+ mavenLocal()
+}
+
configurations {
shade
compile.extendsFrom shade
@@ -14,7 +19,7 @@ dependencies {
// https://modmuss50.me/fabric.html
minecraft 'com.mojang:minecraft:1.16.4'
mappings 'net.fabricmc:yarn:1.16.4+build.6:v2'
- modCompile 'net.fabricmc:fabric-loader:0.10.6+build.214'
+ modImplementation 'net.fabricmc:fabric-loader:0.10.6+build.214'
Set<String> apiModules = [
"fabric-api-base",
@@ -53,6 +58,7 @@ shadowJar {
relocate 'okio', 'me.lucko.spark.lib.okio'
relocate 'okhttp3', 'me.lucko.spark.lib.okhttp3'
relocate 'net.kyori.adventure', 'me.lucko.spark.lib.adventure'
+ relocate 'net.kyori.examination', 'me.lucko.spark.lib.adventure.examination'
relocate 'org.tukaani.xz', 'me.lucko.spark.lib.xz'
relocate 'com.google.protobuf', 'me.lucko.spark.lib.protobuf'
relocate 'org.objectweb.asm', 'me.lucko.spark.lib.asm'
diff --git a/spark-forge/build.gradle b/spark-forge/build.gradle
index 31e23f6..f79eb77 100644
--- a/spark-forge/build.gradle
+++ b/spark-forge/build.gradle
@@ -49,6 +49,7 @@ shadowJar {
relocate 'okio', 'me.lucko.spark.lib.okio'
relocate 'okhttp3', 'me.lucko.spark.lib.okhttp3'
relocate 'net.kyori.adventure', 'me.lucko.spark.lib.adventure'
+ relocate 'net.kyori.examination', 'me.lucko.spark.lib.adventure.examination'
relocate 'org.tukaani.xz', 'me.lucko.spark.lib.xz'
relocate 'com.google.protobuf', 'me.lucko.spark.lib.protobuf'
relocate 'org.objectweb.asm', 'me.lucko.spark.lib.asm'
diff --git a/spark-sponge/build.gradle b/spark-sponge/build.gradle
index 3a07fc7..1a40cd9 100644
--- a/spark-sponge/build.gradle
+++ b/spark-sponge/build.gradle
@@ -12,6 +12,10 @@ dependencies {
annotationProcessor 'org.spongepowered:spongeapi:7.3.0'
}
+repositories {
+ maven { url "https://repo.spongepowered.org/maven" }
+}
+
blossom {
replaceTokenIn('src/main/java/me/lucko/spark/sponge/SpongeSparkPlugin.java')
replaceToken '@version@', project.pluginVersion
diff --git a/spark-universal/build.gradle b/spark-universal/build.gradle
index d358d22..f63f216 100644
--- a/spark-universal/build.gradle
+++ b/spark-universal/build.gradle
@@ -15,6 +15,7 @@ shadowJar {
relocate 'okio', 'me.lucko.spark.lib.okio'
relocate 'okhttp3', 'me.lucko.spark.lib.okhttp3'
relocate 'net.kyori.adventure', 'me.lucko.spark.lib.adventure'
+ relocate 'net.kyori.examination', 'me.lucko.spark.lib.adventure.examination'
relocate 'org.tukaani.xz', 'me.lucko.spark.lib.xz'
relocate 'com.google.protobuf', 'me.lucko.spark.lib.protobuf'
relocate 'org.objectweb.asm', 'me.lucko.spark.lib.asm'
diff --git a/spark-velocity/build.gradle b/spark-velocity/build.gradle
index f14bc15..a8eb8cb 100644
--- a/spark-velocity/build.gradle
+++ b/spark-velocity/build.gradle
@@ -9,6 +9,10 @@ dependencies {
annotationProcessor 'com.velocitypowered:velocity-api:1.1.0'
}
+repositories {
+ maven { url "https://repo.velocitypowered.com/releases/" }
+}
+
blossom {
replaceTokenIn('src/main/java/me/lucko/spark/velocity/VelocitySparkPlugin.java')
replaceToken '@version@', project.pluginVersion