Skip to content

Commit

Permalink
sync fixes to 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Nov 26, 2024
1 parent 247c2e9 commit 5da6a30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 19 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 @@ -24,9 +24,9 @@ dependencies {

//modImplementation "curse.maven:litematica-${project.minecraft_version_out}-308892:${project.litematica_fileid}"
//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.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:malilib:${project.malilib_id}"
modImplementation "com.github.sakura-ryoko:litematica:${project.litematica_id}"

include(modApi(fabricApi.module("fabric-networking-api-v1", project.fabric_api_version)))
Expand All @@ -35,10 +35,6 @@ dependencies {
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 {
}
}
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"suggests": {
"litematica": ">=0.19.0",
"malilib": ">=0.20.0"
"malilib": ">=0.21.0"
},

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

0 comments on commit 5da6a30

Please sign in to comment.