mirror of
https://github.com/TheWhiteDog9487/ServerAddressSpaceFix.git
synced 2024-11-21 20:17:03 +08:00
升级开发环境游戏和依赖项版本
修改输出文件名格式
This commit is contained in:
parent
e59891c7df
commit
7e6b5bea64
@ -70,6 +70,14 @@ tasks.jar {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.remapJar{
|
||||||
|
// https://docs.gradle.org/current/dsl/org.gradle.api.tasks.bundling.Jar.html#org.gradle.api.tasks.bundling.Jar:archiveFileName
|
||||||
|
// 用这个属性设置jar包的文件名格式
|
||||||
|
// 别用上面那个Jar任务的配置,会被remapJar覆盖掉
|
||||||
|
archiveFileName = "${project.base.archivesName.get()}-${project.version} mc${project.extra["compatible_with"]}.jar"}
|
||||||
|
tasks.remapSourcesJar{
|
||||||
|
archiveFileName = "${project.base.archivesName.get()}-${project.version} mc${project.extra["compatible_with"]}-sources.jar"}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
create<MavenPublication>("mavenJava") {
|
create<MavenPublication>("mavenJava") {
|
||||||
|
@ -4,14 +4,28 @@ org.gradle.parallel=true
|
|||||||
|
|
||||||
# Fabric Properties
|
# Fabric Properties
|
||||||
# check these on https://fabricmc.net/develop
|
# check these on https://fabricmc.net/develop
|
||||||
minecraft_version=1.21
|
minecraft_version=1.21.3
|
||||||
yarn_mappings=1.21+build.1
|
yarn_mappings=1.21.3+build.2
|
||||||
loader_version=0.15.11
|
loader_version=0.16.7
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version=0.2.0
|
mod_version=0.2.1
|
||||||
maven_group=xyz.thewhitedog9487
|
maven_group=xyz.thewhitedog9487
|
||||||
archives_base_name=ServerAddressSpaceFix
|
archives_base_name=ServerAddressSpaceFix
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
fabric_version=0.100.1+1.21
|
fabric_version=0.106.1+1.21.3
|
||||||
|
|
||||||
|
compatible_with=1.21+1.21.x
|
||||||
|
# https://modrinth.com/mod/modmenu/versions
|
||||||
|
# https://maven.terraformersmc.com/releases/com/terraformersmc/modmenu
|
||||||
|
modmenu_version=12.0.0-beta.1
|
||||||
|
# https://modrinth.com/mod/yacl/versions
|
||||||
|
# https://maven.isxander.dev/#/releases/dev/isxander/yet-another-config-lib
|
||||||
|
yacl_version=3.6.1+1.21.2-fabric
|
||||||
|
|
||||||
|
# loom_libraries_base=https://bmclapi2.bangbang93.com/maven/
|
||||||
|
# loom_resources_base=https://bmclapi2.bangbang93.com/assets/
|
||||||
|
# loom_version_manifests=https://bmclapi2.bangbang93.com/mc/game/version_manifest.json
|
||||||
|
# loom_experimental_versions=https://maven.fabricmc.net/net/minecraft/experimental_versions.json
|
||||||
|
# loom_fabric_repository=https://repository.hanbings.io/proxy/
|
Loading…
Reference in New Issue
Block a user