Setup dependabot

This commit is contained in:
FlorianMichael 2024-08-05 17:00:14 +02:00
parent c40c8220d6
commit 53cd5d76be
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126
3 changed files with 28 additions and 46 deletions

10
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "gradle"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

View File

@ -43,14 +43,10 @@ loom {
} }
dependencies { dependencies {
// Minecraft/Fabric and mods
minecraft "com.mojang:minecraft:${project.minecraft_version}" minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2" mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modCompileOnly "com.terraformersmc:modmenu:${project.mod_menu_version}"
// Fabric API
modJij(fabricApi.module("fabric-api-base", project.fabric_api_version)) modJij(fabricApi.module("fabric-api-base", project.fabric_api_version))
modJij(fabricApi.module("fabric-resource-loader-v0", project.fabric_api_version)) modJij(fabricApi.module("fabric-resource-loader-v0", project.fabric_api_version))
modJij(fabricApi.module("fabric-networking-api-v1", project.fabric_api_version)) modJij(fabricApi.module("fabric-networking-api-v1", project.fabric_api_version))
@ -59,37 +55,34 @@ dependencies {
modJij(fabricApi.module("fabric-particles-v1", project.fabric_api_version)) modJij(fabricApi.module("fabric-particles-v1", project.fabric_api_version))
modJij(fabricApi.module("fabric-registry-sync-v0", project.fabric_api_version)) modJij(fabricApi.module("fabric-registry-sync-v0", project.fabric_api_version))
// ViaVersion Libraries modCompileOnly "com.terraformersmc:modmenu:11.0.0-beta.1"
jij "com.viaversion:viaversion-common:${project.viaversion_version}"
jij "com.viaversion:viabackwards-common:${project.viabackwards_version}" jij "com.viaversion:viaversion-common:5.0.3-SNAPSHOT"
jij "net.raphimc:ViaLegacy:${project.vialegacy_version}" jij "com.viaversion:viabackwards-common:5.0.3-SNAPSHOT"
jij "net.raphimc:viaaprilfools-common:${project.viaaprilfools_version}" jij "net.raphimc:viaaprilfools-common:3.0.2-SNAPSHOT"
jij ("net.raphimc:ViaBedrock:${project.viabedrock_version}") { jij "net.raphimc:ViaLegacy:3.0.3-SNAPSHOT"
jij ("net.raphimc:ViaBedrock:0.0.10-SNAPSHOT") {
exclude group: "io.jsonwebtoken" exclude group: "io.jsonwebtoken"
exclude group: "com.mojang", module: "brigadier" exclude group: "com.mojang", module: "brigadier"
} }
jij ("net.raphimc:ViaLoader:${project.vialoader_version}") { jij ("net.raphimc:ViaLoader:3.0.3-SNAPSHOT") {
exclude group: "com.google.guava", module: "guava" exclude group: "com.google.guava", module: "guava"
exclude group: "org.slf4j", module: "slf4j-api" exclude group: "org.slf4j", module: "slf4j-api"
} }
// RaphiMC Libraries jij ("net.raphimc:MinecraftAuth:4.1.0") {
jij ("net.raphimc:MinecraftAuth:${project.minecraftauth_version}") {
exclude group: "com.google.code.gson", module: "gson" exclude group: "com.google.code.gson", module: "gson"
exclude group: "org.slf4j", module: "slf4j-api" exclude group: "org.slf4j", module: "slf4j-api"
} }
jij "net.lenni0451:Reflect:1.3.2"
// Lenni0451 Libraries jij("net.lenni0451:MCPing:1.4.0") {
jij "net.lenni0451:Reflect:${project.reflect_version}"
jij("net.lenni0451:MCPing:${project.mcping_version}") {
exclude group: "com.google.code.gson", module: "gson" exclude group: "com.google.code.gson", module: "gson"
} }
// Misc Libraries jij("org.cloudburstmc.netty:netty-transport-raknet:1.0.0.CR3-SNAPSHOT") {
jij("org.cloudburstmc.netty:netty-transport-raknet:${project.raknet_transport_version}") {
exclude group: "io.netty" exclude group: "io.netty"
} }
jij "de.florianmichael:Classic4J:${project.classic4j_version}" jij "de.florianmichael:Classic4J:2.0.2"
// Fabric's jar in jar system doesn't support transitive dependencies, so we have to manually add them // Fabric's jar in jar system doesn't support transitive dependencies, so we have to manually add them
afterEvaluate { afterEvaluate {

View File

@ -2,34 +2,13 @@
org.gradle.jvmargs=-Xmx8G org.gradle.jvmargs=-Xmx8G
org.gradle.parallel=true org.gradle.parallel=true
# Minecraft/Fabric
minecraft_version=1.21
yarn_mappings=1.21+build.8
loader_version=0.15.11
fabric_api_version=0.100.6+1.21
# Project Details # Project Details
mod_version=3.4.4-SNAPSHOT mod_version=3.4.4-SNAPSHOT
maven_group=de.florianmichael maven_group=de.florianmichael
archives_base_name=ViaFabricPlus archives_base_name=ViaFabricPlus
# ViaVersion Libraries # Minecraft/Fabric
viaversion_version=5.0.3-SNAPSHOT minecraft_version=1.21
viabackwards_version=5.0.3-SNAPSHOT yarn_mappings=1.21+build.8
vialegacy_version=3.0.3-SNAPSHOT loader_version=0.15.11
viaaprilfools_version=3.0.2-SNAPSHOT fabric_api_version=0.100.6+1.21
vialoader_version=3.0.3-SNAPSHOT
# RaphiMC Libraries
minecraftauth_version=4.1.0
viabedrock_version=0.0.10-SNAPSHOT
raknet_transport_version=1.0.0.CR3-SNAPSHOT
# Lenni0451 Libraries
reflect_version=1.3.2
mcping_version=1.4.0
# Misc Libraries
mod_menu_version=11.0.0-beta.1
classic4j_version=2.0.2