Updates to 1.18.1
This commit is contained in:
+9
-10
@@ -14,7 +14,7 @@ buildscript {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id "fabric-loom" version "0.8-SNAPSHOT"
|
||||
id "fabric-loom" version "0.10-SNAPSHOT"
|
||||
id "maven-publish"
|
||||
id "java-library"
|
||||
}
|
||||
@@ -154,8 +154,9 @@ allprojects {
|
||||
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
|
||||
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
||||
modRuntime "com.terraformersmc:modmenu:2.0.0-beta.4"
|
||||
modCompileOnly "com.terraformersmc:modmenu:2.0.0-beta.4"
|
||||
|
||||
modRuntimeOnly "com.terraformersmc:modmenu:${project.modmenu_version}"
|
||||
modCompileOnly "com.terraformersmc:modmenu:${project.modmenu_version}"
|
||||
}
|
||||
|
||||
}
|
||||
@@ -209,10 +210,10 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(":omega-config-base")
|
||||
implementation project(":omega-config-gui")
|
||||
modRuntime "com.terraformersmc:modmenu:1.16.8"
|
||||
modCompileOnly "com.terraformersmc:modmenu:1.16.8"
|
||||
implementation project(path: ":omega-config-base", configuration: "namedElements")
|
||||
implementation project(path: ":omega-config-gui", configuration: "namedElements")
|
||||
modRuntimeOnly "com.terraformersmc:modmenu:${project.modmenu_version}"
|
||||
modCompileOnly "com.terraformersmc:modmenu:${project.modmenu_version}"
|
||||
|
||||
afterEvaluate {
|
||||
testmodImplementation sourceSets.main.output
|
||||
@@ -222,9 +223,7 @@ dependencies {
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
artifact(file("${project.buildDir}/libs/${archivesBaseName}-${project.mod_version}.jar")) {
|
||||
builtBy(remapJar)
|
||||
}
|
||||
from components.java
|
||||
|
||||
pom.withXml {
|
||||
def depsNode = asNode().appendNode("dependencies")
|
||||
|
||||
+6
-4
@@ -2,13 +2,15 @@
|
||||
org.gradle.jvmargs=-Xmx2G
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/versions.html
|
||||
minecraft_version=1.17
|
||||
yarn_mappings=1.17+build.7
|
||||
loader_version=0.11.3
|
||||
minecraft_version=1.18.1
|
||||
yarn_mappings=1.18.1+build.2
|
||||
loader_version=0.12.11
|
||||
|
||||
#Fabric api
|
||||
fabric_version=0.34.10+1.17
|
||||
fabric_version=0.44.0+1.18
|
||||
# Mod Properties
|
||||
mod_version=1.1.0
|
||||
maven_group=draylar
|
||||
archives_base_name=omega-config
|
||||
|
||||
modmenu_version=3.0.0
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "omega-config",
|
||||
"version": "1.0.8",
|
||||
"version": "1.1.0",
|
||||
"name": "OmegaConfig",
|
||||
"description": "The last config solution you will ever use.",
|
||||
"authors": [
|
||||
|
||||
+1
-1
@@ -114,7 +114,7 @@ public class OmegaConfigScreen<T extends Config> extends Screen {
|
||||
|
||||
@Override
|
||||
public void onClose() {
|
||||
client.openScreen(parent);
|
||||
client.setScreen(parent);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user