From c0cdd3310d7aa9e312a11f5d50dc9b52f109b3ae Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Thu, 1 Dec 2022 20:33:40 -0700 Subject: [PATCH] Fix cloudburst module compile --- .../src/main/kotlin/cloud.base-conventions.gradle.kts | 6 +++--- cloud-minecraft/cloud-cloudburst/build.gradle.kts | 4 +++- .../commandframework/cloudburst/CloudburstCommand.java | 2 +- .../cloudburst/CloudburstCommandManager.java | 2 +- .../cloudburst/CloudburstPluginRegistrationHandler.java | 2 +- settings.gradle.kts | 2 +- 6 files changed, 10 insertions(+), 8 deletions(-) diff --git a/build-logic/src/main/kotlin/cloud.base-conventions.gradle.kts b/build-logic/src/main/kotlin/cloud.base-conventions.gradle.kts index 2c22d300..d4788295 100644 --- a/build-logic/src/main/kotlin/cloud.base-conventions.gradle.kts +++ b/build-logic/src/main/kotlin/cloud.base-conventions.gradle.kts @@ -88,9 +88,9 @@ repositories { } /* The paper repository, used for cloud-paper */ maven("https://repo.papermc.io/repository/maven-public/") - /* The NukkitX repository, used for cloud-cloudburst */ - maven("https://repo.nukkitx.com/maven-snapshots") { - mavenContent { snapshotsOnly() } + /* Used for cloud-cloudburst */ + maven("https://repo.opencollab.dev/maven-snapshots/") { + mavenContent { includeGroup("org.cloudburstmc") } } /* The current Fabric repository */ maven("https://maven.fabricmc.net/") { diff --git a/cloud-minecraft/cloud-cloudburst/build.gradle.kts b/cloud-minecraft/cloud-cloudburst/build.gradle.kts index 5720aabd..c7d53395 100644 --- a/cloud-minecraft/cloud-cloudburst/build.gradle.kts +++ b/cloud-minecraft/cloud-cloudburst/build.gradle.kts @@ -4,5 +4,7 @@ plugins { dependencies { api(projects.cloudCore) - compileOnly(libs.cloudburst) + compileOnly(libs.cloudburst) { + isTransitive = false + } } diff --git a/cloud-minecraft/cloud-cloudburst/src/main/java/cloud/commandframework/cloudburst/CloudburstCommand.java b/cloud-minecraft/cloud-cloudburst/src/main/java/cloud/commandframework/cloudburst/CloudburstCommand.java index 6ec71859..49061a37 100644 --- a/cloud-minecraft/cloud-cloudburst/src/main/java/cloud/commandframework/cloudburst/CloudburstCommand.java +++ b/cloud-minecraft/cloud-cloudburst/src/main/java/cloud/commandframework/cloudburst/CloudburstCommand.java @@ -1,7 +1,7 @@ // // MIT License // -// Copyright (c) 2021 Alexander Söderberg & Contributors +// Copyright (c) 2022 Alexander Söderberg & Contributors // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/cloud-minecraft/cloud-cloudburst/src/main/java/cloud/commandframework/cloudburst/CloudburstCommandManager.java b/cloud-minecraft/cloud-cloudburst/src/main/java/cloud/commandframework/cloudburst/CloudburstCommandManager.java index e16845c0..0ff8bc85 100644 --- a/cloud-minecraft/cloud-cloudburst/src/main/java/cloud/commandframework/cloudburst/CloudburstCommandManager.java +++ b/cloud-minecraft/cloud-cloudburst/src/main/java/cloud/commandframework/cloudburst/CloudburstCommandManager.java @@ -1,7 +1,7 @@ // // MIT License // -// Copyright (c) 2021 Alexander Söderberg & Contributors +// Copyright (c) 2022 Alexander Söderberg & Contributors // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/cloud-minecraft/cloud-cloudburst/src/main/java/cloud/commandframework/cloudburst/CloudburstPluginRegistrationHandler.java b/cloud-minecraft/cloud-cloudburst/src/main/java/cloud/commandframework/cloudburst/CloudburstPluginRegistrationHandler.java index c6138984..54f8d231 100644 --- a/cloud-minecraft/cloud-cloudburst/src/main/java/cloud/commandframework/cloudburst/CloudburstPluginRegistrationHandler.java +++ b/cloud-minecraft/cloud-cloudburst/src/main/java/cloud/commandframework/cloudburst/CloudburstPluginRegistrationHandler.java @@ -1,7 +1,7 @@ // // MIT License // -// Copyright (c) 2021 Alexander Söderberg & Contributors +// Copyright (c) 2022 Alexander Söderberg & Contributors // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/settings.gradle.kts b/settings.gradle.kts index 50c9c71f..db10437a 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -42,7 +42,7 @@ setupMinecraftModule("cloud-velocity") //setupMinecraftModule("cloud-sponge") setupMinecraftModule("cloud-sponge7") setupMinecraftModule("cloud-bungee") -// setupMinecraftModule("cloud-cloudburst") // todo repo is down? +setupMinecraftModule("cloud-cloudburst") setupMinecraftModule("cloud-minecraft-extras") // IRC Modules