dep update + version bump + added testmod
This commit is contained in:
parent
8427eebfcc
commit
aaf9a54523
11
build.gradle
11
build.gradle
@ -17,6 +17,17 @@ repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
loom {
|
||||
runs {
|
||||
testServer {
|
||||
server()
|
||||
ideConfigGenerated project.rootProject == project
|
||||
name = "Testmod Server"
|
||||
source sourceSets.test
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
//to change the versions see the gradle.properties file
|
||||
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
||||
|
@ -2,17 +2,17 @@
|
||||
org.gradle.jvmargs=-Xmx1G
|
||||
|
||||
minecraft_version=1.19.2
|
||||
yarn_mappings=1.19.2+build.8
|
||||
loader_version=0.14.9
|
||||
yarn_mappings=1.19.2+build.28
|
||||
loader_version=0.14.10
|
||||
|
||||
#Fabric api
|
||||
fabric_version=0.60.0+1.19.2
|
||||
fabric_version=0.64.0+1.19.2
|
||||
|
||||
#Cloth Config
|
||||
cloth_version=8.0.75
|
||||
cloth_version=8.2.88
|
||||
|
||||
#ModMenu
|
||||
modmenu_version=4.0.5
|
||||
modmenu_version=4.1.0
|
||||
|
||||
#Lazy DFU for faster dev start
|
||||
lazydfu_version=v0.1.3
|
||||
@ -21,6 +21,6 @@ lazydfu_version=v0.1.3
|
||||
pgzip_commit_hash=af5f5c297e735f3f2df7aa4eb0e19a5810b8aff6
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 2.4.0
|
||||
mod_version = 2.5.0
|
||||
maven_group = net.szum123321
|
||||
archives_base_name = textile_backup
|
@ -0,0 +1,10 @@
|
||||
package net.szum123321.test.textile_backup;
|
||||
|
||||
import net.fabricmc.api.ModInitializer;
|
||||
|
||||
public class TextileBackupTest implements ModInitializer {
|
||||
@Override
|
||||
public void onInitialize() {
|
||||
|
||||
}
|
||||
}
|
35
src/test/resources/fabric.mod.json
Normal file
35
src/test/resources/fabric.mod.json
Normal file
@ -0,0 +1,35 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "textile_backup",
|
||||
"version": "${version}",
|
||||
|
||||
"name": "Textile Backup Test",
|
||||
"authors": [
|
||||
"Szum123321"
|
||||
],
|
||||
"contact": {
|
||||
"homepage": "https://www.curseforge.com/minecraft/mc-mods/textile-backup",
|
||||
"issues": "https://github.com/Szum123321/textile_backup/issues",
|
||||
"sources": "https://github.com/Szum123321/textile_backup"
|
||||
},
|
||||
|
||||
"license": "GPLv3",
|
||||
|
||||
"environment": "*",
|
||||
"entrypoints": {
|
||||
"main": [
|
||||
"net.szum123321.test.textile_backup.TextileBackupTest"
|
||||
]
|
||||
},
|
||||
"mixins": [
|
||||
],
|
||||
|
||||
"depends": {
|
||||
"fabricloader": ">=0.14.6",
|
||||
"fabric": "*",
|
||||
"minecraft": ">=1.19.1",
|
||||
"cloth-config2": "*",
|
||||
"java": ">=16",
|
||||
"textile_backup": "*"
|
||||
}
|
||||
}
|
12
src/test/resources/textile_backup-test.mixins.json
Normal file
12
src/test/resources/textile_backup-test.mixins.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"required": true,
|
||||
"package": "net.szum123321.test.textile_backup.mixin",
|
||||
"compatibilityLevel": "JAVA_16",
|
||||
"mixins": [
|
||||
],
|
||||
"client": [
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user