From 5a8814db74d392a8ffb474320ad464530d52cdbf 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 d2ba067f9..79efbd099 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 a07acc0bd..2cf0a93db 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")