Skip to content

Commit

Permalink
Port to rc3
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Nov 30, 2024
1 parent ccd301b commit 425f416
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 30 deletions.
22 changes: 4 additions & 18 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ plugins {
id 'maven-publish'
}

sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
//sourceCompatibility = JavaVersion.VERSION_21
//targetCompatibility = JavaVersion.VERSION_21

repositories {
maven { url 'https://masa.dy.fi/maven' }
Expand All @@ -26,19 +26,15 @@ dependencies {
//modImplementation "curse.maven:malilib-${project.minecraft_version_out}-303119:${project.malilib_fileid}"
//modImplementation "fi.dy.masa.malilib:malilib-fabric-${project.minecraft_version_out}:${project.malilib_version}"
//modImplementation "fi.dy.masa.litematica:litematica-fabric-${project.minecraft_version_out}:${project.litematica_version}"
modImplementation "com.github.sakura-ryoko:malilib:${project.malilib_id}"
modImplementation "com.github.sakura-ryoko:litematica:${project.litematica_id}"
modImplementation "com.github.sakura-ryoko:malilib:${project.malilib_version}"
modImplementation "com.github.sakura-ryoko:litematica:${project.litematica_version}"

include(modApi(fabricApi.module("fabric-networking-api-v1", project.fabric_api_version)))
include(modApi(fabricApi.module("fabric-resource-loader-v0", project.fabric_api_version)))

modCompileOnly "com.terraformersmc:modmenu:${project.mod_menu_version}"
}

group = project.maven_group + "." + project.mod_id
archivesBaseName = project.mod_file_name + '-' + project.minecraft_version_out
version = project.mod_version

processResources {
exclude '**/*.xcf'
exclude '**/xcf'
Expand Down Expand Up @@ -68,13 +64,3 @@ tasks.withType(JavaCompile).configureEach {
tasks.withType(AbstractArchiveTask).configureEach {
preserveFileTimestamps = true
}

publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
}
}
15 changes: 6 additions & 9 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,14 @@ mod_version = 0.3.13-sakura.1
# Dependencies (malilib, litematica)
#malilib_fileid=4946328
#litematica_fileid=4946471
malilib_version = 0.22.59-beta2
malilib_id = 665d8e0998

litematica_version = 0.21.59-beta2
litematica_id = 4ec54a7a95
malilib_version = 49623cfead
litematica_version = 6efc844226

# Minecraft, Fabric Loader and API and mappings versions
minecraft_version_out = 1.21.4-pre2
minecraft_version = 1.21.4-pre2
mappings_version = 1.21.4-pre2+build.1
minecraft_version_out = 1.21.4-rc3
minecraft_version = 1.21.4-rc3
mappings_version = 1.21.4-rc3+build.3

fabric_loader_version = 0.16.9
mod_menu_version = 12.0.0-beta.1
fabric_api_version = 0.110.0+1.21.4
fabric_api_version = 0.110.2+1.21.4
6 changes: 3 additions & 3 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
"syncmatica.litematica_mixin.json"
],
"depends": {
"minecraft": "1.21.4-beta.2",
"minecraft": "1.21.4-rc.3",
"fabric-networking-api-v1": ">=4.3.6"
},
"suggests": {
"litematica": "0.20.59-beta2",
"malilib": "0.22.59-beta2"
"litematica": "0.20.59-rc3",
"malilib": "0.22.59-rc3"
},

"icon": "assets/syncmatica/icon/logo.png",
Expand Down

0 comments on commit 425f416

Please sign in to comment.