mirror of
https://github.com/TeamMidnightDust/DeliciousDishes.git
synced 2025-12-16 08:35:10 +01:00
Delicious Dishes 2.1.0 - Modernization, New Food
Today marks my 17th Birthday, and I've got something cooking up for ya'! After a 2-year hiatus, my first big feature mod Delicious Dishes makes a return! - Update from 1.16 to 1.19 - Code modernization - Switch from Cloth Config to MidnightLib - New Food: Ukrainian Borscht and Pizza Margherita - Added Glow Berry Ice Cream (applies Glowing Effect for 5 seconds) - Added Spaceburger (Can be found in chests on planets from Ad Astra!) - Added Patchouli entries for all the new features - Fixed multiple long-standing bugs - Added Bowl (right now only for Borscht, though I might add some more soups, stews and desserts in the future)
This commit is contained in:
50
build.gradle
50
build.gradle
@@ -1,64 +1,56 @@
|
||||
plugins {
|
||||
id 'fabric-loom' version '0.2.7-SNAPSHOT'
|
||||
id 'fabric-loom' version '1.0-SNAPSHOT'
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
|
||||
archivesBaseName = project.archives_base_name
|
||||
version = project.mod_version
|
||||
group = project.maven_group
|
||||
|
||||
minecraft {
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven { url "https://jitpack.io" }
|
||||
maven { url "http://server.bbkr.space/artifactory/libs-release" }
|
||||
maven { url 'https://maven.blamejared.com' }
|
||||
maven { url "https://api.modrinth.com/maven" }
|
||||
flatDir { dirs 'localMaven'}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
//to change the versions see the gradle.properties file
|
||||
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
||||
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
|
||||
modCompile "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||
|
||||
modCompile "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
||||
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
||||
|
||||
modImplementation "vazkii.patchouli:Patchouli:${patchouli_version}"
|
||||
modImplementation "vazkii.patchouli:Patchouli:${patchouli_version}"
|
||||
|
||||
modImplementation "com.github.Draylar:maybe-data:${maybedata_version}"
|
||||
include "com.github.Draylar:maybe-data:${maybedata_version}"
|
||||
modImplementation "eu.midnightdust:midnight-hats:${midnighthats_version}"
|
||||
include "eu.midnightdust:midnight-hats:${midnighthats_version}"
|
||||
|
||||
modImplementation ("me.sargunvohra.mcmods:autoconfig1u:${project.auto_config_version}")
|
||||
include ("me.sargunvohra.mcmods:autoconfig1u:${project.auto_config_version}")
|
||||
modImplementation ("me.shedaniel.cloth:config-2:${project.cloth_config_version}")
|
||||
include ("me.shedaniel.cloth:config-2:${project.cloth_config_version}")
|
||||
modImplementation ("io.github.prospector:modmenu:${project.mod_menu_version}")
|
||||
|
||||
modImplementation "maven.modrinth:midnightlib:${midnightlib_version}"
|
||||
include "maven.modrinth:midnightlib:${midnightlib_version}"
|
||||
}
|
||||
|
||||
processResources {
|
||||
inputs.property "version", project.version
|
||||
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
include "fabric.mod.json"
|
||||
filesMatching("fabric.mod.json") {
|
||||
expand "version": project.version
|
||||
}
|
||||
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude "fabric.mod.json"
|
||||
}
|
||||
}
|
||||
|
||||
// ensure that the encoding is set to UTF-8, no matter what the system default is
|
||||
// this fixes some edge cases with special characters not displaying correctly
|
||||
// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = "UTF-8"
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
// ensure that the encoding is set to UTF-8, no matter what the system default is
|
||||
// this fixes some edge cases with special characters not displaying correctly
|
||||
// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
|
||||
// If Javadoc is generated, this must be specified in that task too.
|
||||
it.options.encoding = "UTF-8"
|
||||
|
||||
// Minecraft 1.17 (21w19a) upwards uses Java 16.
|
||||
it.options.release = 17
|
||||
}
|
||||
|
||||
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
|
||||
|
||||
Reference in New Issue
Block a user