From 5769912f7b74c75e9af1640791bcf50a3d2f3109 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 e92a12050..acc3b6b37 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 74cba1396..dd74eaa31 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -21,5 +21,14 @@ dependencyResolutionManagement { } } } +pluginManagement { + repositories { + gradlePluginPortal() + maven { + name = "jmp repository" + url = uri("https://repo.jpenilla.xyz/snapshots") + } + } +} enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")