mirror of
https://github.com/trafficlunar/options-profiles.git
synced 2026-06-27 22:24:10 +00:00
Add Neoforge and upgrade template
Forge is not working but I can't really do anything about it
This commit is contained in:
parent
f0cebb6252
commit
2690515316
20 changed files with 227 additions and 212 deletions
|
|
@ -1,9 +1,5 @@
|
|||
architectury {
|
||||
common(rootProject.enabled_platforms.split(","))
|
||||
}
|
||||
|
||||
loom {
|
||||
accessWidenerPath = file("src/main/resources/optionsprofiles.accesswidener")
|
||||
common rootProject.enabled_platforms.split(',')
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
|
@ -21,27 +17,12 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
// We depend on fabric loader here to use the fabric @Environment annotations and get the mixin dependencies
|
||||
// Do NOT use other classes from fabric loader
|
||||
// We depend on Fabric Loader here to use the Fabric @Environment annotations,
|
||||
// which get remapped to the correct annotations on each platform.
|
||||
// Do NOT use other classes from Fabric Loader.
|
||||
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
|
||||
// Remove the next line if you don't want to depend on the API
|
||||
// modApi "dev.architectury:architectury:${rootProject.architectury_version}"
|
||||
|
||||
// Mod implementations
|
||||
modImplementation "maven.modrinth:sodium:mc1.20.6-0.5.8"
|
||||
modImplementation "maven.modrinth:sodium-extra:mc1.20.6-0.5.5"
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
mavenCommon(MavenPublication) {
|
||||
artifactId = rootProject.archives_base_name
|
||||
from components.java
|
||||
}
|
||||
}
|
||||
|
||||
// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
|
||||
repositories {
|
||||
// Add repositories to publish to here.
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue