From 8abc277a77d452d837a13976cecb836ba125d2e2 Mon Sep 17 00:00:00 2001 From: Artur Khusainov Date: Sun, 19 May 2024 14:40:49 +0300 Subject: [PATCH] Refactor build scripts (#140) --- spigot/build.gradle.kts | 5 +++-- velocity/build.gradle.kts | 6 +----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/spigot/build.gradle.kts b/spigot/build.gradle.kts index 8fc2490..bb9ed39 100644 --- a/spigot/build.gradle.kts +++ b/spigot/build.gradle.kts @@ -4,18 +4,19 @@ plugins { repositories { maven { + name = "ProtocolLib" url = uri("https://repo.dmulloy2.net/repository/public/") } maven { + name = "Sonatype" url = uri("https://oss.sonatype.org/content/repositories/snapshots/") } maven { + name = "Spigot" url = uri("https://hub.spigotmc.org/nexus/content/repositories/snapshots/") } } -val bStats = with(libs.bstats.bukkit.get()) { "$module:$versionConstraint" } - tasks { val writePluginYml by creating(PluginDescriptorTask::class) { descriptor = "plugin.yml" diff --git a/velocity/build.gradle.kts b/velocity/build.gradle.kts index 004ff34..2899094 100644 --- a/velocity/build.gradle.kts +++ b/velocity/build.gradle.kts @@ -9,7 +9,7 @@ java { repositories { maven { - name = "papermc" + name = "Paper" url = uri("https://repo.papermc.io/repository/maven-public/") } } @@ -32,8 +32,4 @@ tasks { "version" to project.version )) } - - shadowJar { - archiveFileName = "mapmodcompanion-shadow.jar" - } }