Update to 1.19.3

This commit is contained in:
DenaryDev 2022-12-11 21:04:37 +05:00
parent 8da4845534
commit c5ef8a2eab
4 changed files with 24 additions and 63 deletions

View file

@ -28,16 +28,10 @@ dependencies {
} }
processResources { processResources {
inputs.property "version", project.version inputs.property 'version', version
duplicatesStrategy = 'warn'
from(sourceSets.main.resources.srcDirs) { filesMatching('quilt.mod.json') {
include "fabric.mod.json" expand "version": version
expand "version": project.version
}
from(sourceSets.main.resources.srcDirs) {
exclude "fabric.mod.json"
} }
} }
@ -45,49 +39,14 @@ tasks.withType(JavaCompile) {
options.encoding = "UTF-8" options.encoding = "UTF-8"
} }
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task java {
// if it is present. withSourcesJar()
// If you remove this task, sources will not be generated.
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = "sources"
from sourceSets.main.allSource
} }
jar { jar {
from "LICENSE" from "LICENSE"
} }
// configure the maven publication
publishing {
publications {
mavenJava(MavenPublication) {
// add all the jars that should be included when publishing to maven
artifact(remapJar) {
builtBy remapJar
}
artifact(sourcesJar) {
builtBy remapSourcesJar
}
}
}
// select the repositories you want to publish to
repositories {
// uncomment to publish to the local maven
// mavenLocal()
}
}
sourceSets {
main.java {
include 'com/vladmarica/betterpingdisplay/**/*'
exclude 'net/fabricmc/*'
}
test.java {
include 'com/vladmarica/betterpingdisplay/**/*'
}
}
test { test {
useJUnit() useJUnit()
} }

View file

@ -1,11 +1,11 @@
# Done to increase the memory available to gradle. # Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx1G org.gradle.jvmargs=-Xmx3G
# Fabric Properties # Fabric Properties
# check these on https://fabricmc.net/use # check these on https://fabricmc.net/develop
minecraft_version=1.19.2 minecraft_version=1.19.3
yarn_mappings=1.19.2+build.28 yarn_mappings=1.19.3+build.3
loader_version=0.14.10 loader_version=0.14.11
# Mod Properties # Mod Properties
mod_version=1.2.0 mod_version=1.2.0
@ -13,9 +13,11 @@ org.gradle.jvmargs=-Xmx1G
archives_base_name=BetterPingDisplay-Fabric archives_base_name=BetterPingDisplay-Fabric
# Dependencies # Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api # check these on https://fabricmc.net/develop
fabric_version=0.67.1+1.19.2 fabric_version=0.68.1+1.19.3
# ModMenu api # ModMenu api
modmenu_version=4.1.1 modmenu_version=5.0.2
# Cloth config for config screen # Cloth config for config screen
cloth_config_version=8.2.88 cloth_config_version=8.2.88

View file

@ -2,7 +2,7 @@
"required": true, "required": true,
"minVersion": "0.8", "minVersion": "0.8",
"package": "com.vladmarica.betterpingdisplay.mixin", "package": "com.vladmarica.betterpingdisplay.mixin",
"compatibilityLevel": "JAVA_8", "compatibilityLevel": "JAVA_17",
"mixins": [ "mixins": [
], ],
"client": [ "client": [

View file

@ -1,7 +1,7 @@
{ {
"schemaVersion": 1, "schemaVersion": 1,
"id": "betterpingdisplay", "id": "betterpingdisplay",
"version": "1.1.1", "version": "${version}",
"name": "Better Ping Display", "name": "Better Ping Display",
"description": "Shows the actual ping number instead of just bars in the player list!", "description": "Shows the actual ping number instead of just bars in the player list!",
@ -32,7 +32,7 @@
"depends": { "depends": {
"fabricloader": ">=0.14", "fabricloader": ">=0.14",
"minecraft": "1.19.2" "minecraft": "1.19.3"
}, },
"suggests": {} "suggests": {}
} }