From 2cdfac02dced7627f7e35619128dbd988a3c6250 Mon Sep 17 00:00:00 2001 From: Phillip Glanz Date: Sun, 2 Apr 2023 22:08:27 +0200 Subject: [PATCH] Add runFolia with snapshot version of run paper --- build.gradle.kts | 2 +- settings.gradle.kts | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 1eb71e150..c3969fdaa 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -104,9 +104,9 @@ tasks { } register("runFolia") { + downloadsApiService.set(xyz.jpenilla.runtask.service.DownloadsAPIService.folia(project)) minecraftVersion("1.19.4") group = "run paper" - serverJar(file("run-folia/folia-paperclip-1.19.4-R0.1-SNAPSHOT-reobf.jar")) runDirectory.set(file("run-folia")) pluginJars(*project(":worldedit-bukkit").getTasksByName("shadowJar", false).map { (it as Jar).archiveFile } .toTypedArray()) diff --git a/settings.gradle.kts b/settings.gradle.kts index e11d39a3c..541ab15a1 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -23,5 +23,14 @@ dependencyResolutionManagement { } } } +pluginManagement { + repositories { + gradlePluginPortal() + maven { + name = "jmp repository" + url = uri("https://repo.jpenilla.xyz/snapshots") + } + } +} enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")