Update to new infrastructure
ci/woodpecker/manual/jfmod Pipeline was successful Details

This commit is contained in:
Johannes Frohnmeyer 2022-12-02 17:16:00 +01:00
parent 31d4047bcf
commit f2fc0ae202
Signed by: Johannes
GPG Key ID: E76429612C2929F4
7 changed files with 51 additions and 34 deletions

View File

@ -1,2 +0,0 @@
include:
- remote: 'https://jfmods.gitlab.io/scripts/jfmod.yml'

1
.woodpecker.yml Normal file
View File

@ -0,0 +1 @@
#link https://pages.frohnmeyer-wds.de/scripts/jfmod.yml

View File

@ -1,21 +0,0 @@
apply from: "https://jfmods.gitlab.io/scripts/gradle/v2.gradle"
loom {
accessWidenerPath = file("src/client/resources/slyde.accesswidener")
}
repositories {
maven { url "https://api.modrinth.com/maven" }
}
dependencies {
modCompileOnly("maven.modrinth:sodium:mc1.19-0.4.2")
modImplementation("io.gitlab.jfronny.libjf:libjf-config-core-v1:${project.libjf_version}")
// For testing in dev environment
modLocalRuntime("net.fabricmc.fabric-api:fabric-api:0.60.0+1.19.2")
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-devutil:${project.libjf_version}")
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-reflect-v1:${project.libjf_version}")
modLocalRuntime("com.terraformersmc:modmenu:4.0.6")
}

26
build.gradle.kts Normal file
View File

@ -0,0 +1,26 @@
import io.gitlab.jfronny.scripts.*
plugins {
id("jfmod") version "1.2-SNAPSHOT"
id("io.gitlab.jfronny.libjf.libjf-config-compiler-plugin")
}
loom {
accessWidenerPath.set(file("src/client/resources/slyde.accesswidener"))
}
repositories {
maven("https://api.modrinth.com/maven")
}
dependencies {
modCompileOnly("maven.modrinth:sodium:mc1.19-0.4.2")
modImplementation("io.gitlab.jfronny.libjf:libjf-config-core-v1:${prop("libjf_version")}")
// For testing in dev environment
modLocalRuntime("net.fabricmc.fabric-api:fabric-api:0.68.0+1.19.2")
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-devutil:${prop("libjf_version")}")
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-reflect-v1:${prop("libjf_version")}")
modLocalRuntime("com.terraformersmc:modmenu:4.1.1")
}

View File

@ -1,11 +1,10 @@
# https://fabricmc.net/develop/
minecraft_version=1.19.2
yarn_mappings=build.8
loader_version=0.14.9
maven_group=io.gitlab.jfronny
archives_base_name=Slyde
yarn_mappings=build.24
loader_version=0.14.11
libjf_version=3.0.3
maven_group=io.gitlab.jfronny
archives_base_name=slyde
modrinth_id=slyde
modrinth_required_dependencies=libjf
@ -13,3 +12,5 @@ modrinth_optional_dependencies=modmenu
curseforge_id=411386
curseforge_required_dependencies=libjf
curseforge_optional_dependencies=modmenu
libjf_version=3.2.1

13
settings.gradle.kts Normal file
View File

@ -0,0 +1,13 @@
pluginManagement {
val libjf_version: String by settings
repositories {
maven("https://maven.fabricmc.net/") // FabricMC
maven("https://maven.frohnmeyer-wds.de/artifacts") // scripts
gradlePluginPortal()
}
plugins {
id("io.gitlab.jfronny.libjf.libjf-config-compiler-plugin") version libjf_version
}
}
rootProject.name = "slyde"

View File

@ -4,13 +4,12 @@
"version": "${version}",
"name": "Slyde",
"description": "Allows dragging sliders further than intended",
"authors": [
"JFronny"
],
"authors": ["JFronny"],
"contact": {
"homepage": "https://www.curseforge.com/minecraft/mc-mods/slyde",
"sources": "https://gitlab.com/jfmods/slyde",
"issues": "https://gitlab.com/jfmods/slyde/-/issues"
"email": "projects.contact@frohnmeyer-wds.de",
"homepage": "https://jfronny.gitlab.io",
"issues": "https://git.frohnmeyer-wds.de/JfMods/Slyde/issues",
"sources": "https://git.frohnmeyer-wds.de/JfMods/Slyde"
},
"license": "MIT",
"environment": "*",