fix: remove forge
architectury doesn't support forge anymore
This commit is contained in:
parent
422ef168f9
commit
15263e8b74
9 changed files with 6 additions and 112 deletions
|
|
@ -1,59 +0,0 @@
|
|||
plugins {
|
||||
id 'com.github.johnrengelman.shadow'
|
||||
}
|
||||
|
||||
loom {
|
||||
forge {
|
||||
mixinConfig "optionsprofiles.mixins.json"
|
||||
}
|
||||
}
|
||||
|
||||
architectury {
|
||||
platformSetupLoomIde()
|
||||
forge()
|
||||
}
|
||||
|
||||
configurations {
|
||||
common {
|
||||
canBeResolved = true
|
||||
canBeConsumed = false
|
||||
}
|
||||
compileClasspath.extendsFrom common
|
||||
runtimeClasspath.extendsFrom common
|
||||
developmentForge.extendsFrom common
|
||||
|
||||
// Files in this configuration will be bundled into your mod using the Shadow plugin.
|
||||
// Don't use the `shadow` configuration from the plugin itself as it's meant for excluding files.
|
||||
shadowBundle {
|
||||
canBeResolved = true
|
||||
canBeConsumed = false
|
||||
}
|
||||
}
|
||||
|
||||
configurations.all {
|
||||
resolutionStrategy.force("net.sf.jopt-simple:jopt-simple:5.0.4")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
forge "net.minecraftforge:forge:$rootProject.forge_version"
|
||||
|
||||
common(project(path: ':common', configuration: 'namedElements')) { transitive false }
|
||||
shadowBundle project(path: ':common', configuration: 'transformProductionForge')
|
||||
}
|
||||
|
||||
processResources {
|
||||
inputs.property 'version', project.version
|
||||
|
||||
filesMatching('META-INF/mods.toml') {
|
||||
expand version: project.version
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
configurations = [project.configurations.shadowBundle]
|
||||
archiveClassifier = 'dev-shadow'
|
||||
}
|
||||
|
||||
remapJar {
|
||||
input.set shadowJar.archiveFile
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
loom.platform = forge
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
package com.axolotlmaid.optionsprofiles.forge;
|
||||
|
||||
import com.axolotlmaid.optionsprofiles.OptionsProfilesMod;
|
||||
import net.minecraftforge.fml.common.Mod;
|
||||
|
||||
@Mod(OptionsProfilesMod.MOD_ID)
|
||||
public class OptionsProfilesModForge {
|
||||
public OptionsProfilesModForge() {
|
||||
OptionsProfilesMod.init();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
modLoader = "javafml"
|
||||
loaderVersion = "[51,)"
|
||||
#issueTrackerURL = ""
|
||||
license = "GNU GPL 3.0"
|
||||
|
||||
[[mods]]
|
||||
modId = "optionsprofiles"
|
||||
version = "${version}"
|
||||
displayName = "Options Profiles"
|
||||
authors = "AxolotlMaid"
|
||||
description = '''
|
||||
Load and save your options from in-game.
|
||||
'''
|
||||
logoFile = "icon.png"
|
||||
|
||||
[[dependencies.optionsprofiles]]
|
||||
modId = "forge"
|
||||
mandatory = true
|
||||
versionRange = "[51,)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
|
||||
[[dependencies.optionsprofiles]]
|
||||
modId = "minecraft"
|
||||
mandatory = true
|
||||
versionRange = "[1.21,)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.6 KiB |
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"pack": {
|
||||
"description": "Options Profiles",
|
||||
"pack_format": 22
|
||||
}
|
||||
}
|
||||
|
|
@ -4,16 +4,16 @@ org.gradle.parallel=true
|
|||
# Fixes errors caused by Loom version differences
|
||||
loom.ignoreDependencyLoomVersionValidation=true
|
||||
|
||||
# Mod properties
|
||||
mod_version=1.3.2
|
||||
maven_group=com.axolotlmaid.optionsprofiles
|
||||
archives_name=optionsprofiles
|
||||
enabled_platforms=fabric,forge,neoforge
|
||||
enabled_platforms=fabric,neoforge
|
||||
|
||||
# Minecraft properties
|
||||
minecraft_version=1.21.4
|
||||
|
||||
# Dependencies
|
||||
fabric_loader_version=0.16.9
|
||||
fabric_api_version=0.111.0+1.21.4
|
||||
|
||||
forge_version=1.21.4-54.0.6
|
||||
|
||||
neoforge_version=21.4.9-beta
|
||||
neoforge_version=21.4.9-beta
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.axolotlmaid.optionsprofiles.forge;
|
||||
package com.axolotlmaid.optionsprofiles.neoforge;
|
||||
|
||||
import com.axolotlmaid.optionsprofiles.OptionsProfilesMod;
|
||||
import net.neoforged.fml.common.Mod;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ pluginManagement {
|
|||
|
||||
include("common")
|
||||
include("fabric")
|
||||
include("forge")
|
||||
include("neoforge")
|
||||
|
||||
rootProject.name = "optionsprofiles-v1.3.2-1.21.4"
|
||||
|
|
|
|||
Loading…
Reference in a new issue