Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a3cde2c8e7 | ||
|
|
6fa8e58665 | ||
|
|
ed4e9f6c19 |
+9
-10
@@ -14,7 +14,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id "fabric-loom" version "0.8-SNAPSHOT"
|
id "fabric-loom" version "0.10-SNAPSHOT"
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
id "java-library"
|
id "java-library"
|
||||||
}
|
}
|
||||||
@@ -154,8 +154,9 @@ allprojects {
|
|||||||
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
|
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
|
||||||
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
|
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||||
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_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 {
|
dependencies {
|
||||||
implementation project(":omega-config-base")
|
implementation project(path: ":omega-config-base", configuration: "namedElements")
|
||||||
implementation project(":omega-config-gui")
|
implementation project(path: ":omega-config-gui", configuration: "namedElements")
|
||||||
modRuntime "com.terraformersmc:modmenu:1.16.8"
|
modRuntimeOnly "com.terraformersmc:modmenu:${project.modmenu_version}"
|
||||||
modCompileOnly "com.terraformersmc:modmenu:1.16.8"
|
modCompileOnly "com.terraformersmc:modmenu:${project.modmenu_version}"
|
||||||
|
|
||||||
afterEvaluate {
|
afterEvaluate {
|
||||||
testmodImplementation sourceSets.main.output
|
testmodImplementation sourceSets.main.output
|
||||||
@@ -222,9 +223,7 @@ dependencies {
|
|||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
mavenJava(MavenPublication) {
|
mavenJava(MavenPublication) {
|
||||||
artifact(file("${project.buildDir}/libs/${archivesBaseName}-${project.mod_version}.jar")) {
|
from components.java
|
||||||
builtBy(remapJar)
|
|
||||||
}
|
|
||||||
|
|
||||||
pom.withXml {
|
pom.withXml {
|
||||||
def depsNode = asNode().appendNode("dependencies")
|
def depsNode = asNode().appendNode("dependencies")
|
||||||
|
|||||||
+6
-4
@@ -2,13 +2,15 @@
|
|||||||
org.gradle.jvmargs=-Xmx2G
|
org.gradle.jvmargs=-Xmx2G
|
||||||
# Fabric Properties
|
# Fabric Properties
|
||||||
# check these on https://fabricmc.net/versions.html
|
# check these on https://fabricmc.net/versions.html
|
||||||
minecraft_version=1.17
|
minecraft_version=1.18.1
|
||||||
yarn_mappings=1.17+build.7
|
yarn_mappings=1.18.1+build.2
|
||||||
loader_version=0.11.3
|
loader_version=0.12.11
|
||||||
|
|
||||||
#Fabric api
|
#Fabric api
|
||||||
fabric_version=0.34.10+1.17
|
fabric_version=0.44.0+1.18
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version=1.1.0
|
mod_version=1.1.0
|
||||||
maven_group=draylar
|
maven_group=draylar
|
||||||
archives_base_name=omega-config
|
archives_base_name=omega-config
|
||||||
|
|
||||||
|
modmenu_version=3.0.0
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
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
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
before_install:
|
before_install:
|
||||||
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
|
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
|
||||||
- source install-jdk.sh --feature 16
|
- source install-jdk.sh --feature 17
|
||||||
- jshell --version
|
- jshell --version
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"schemaVersion": 1,
|
"schemaVersion": 1,
|
||||||
"id": "omega-config",
|
"id": "omega-config",
|
||||||
"version": "1.0.8",
|
"version": "1.1.0",
|
||||||
"name": "OmegaConfig",
|
"name": "OmegaConfig",
|
||||||
"description": "The last config solution you will ever use.",
|
"description": "The last config solution you will ever use.",
|
||||||
"authors": [
|
"authors": [
|
||||||
|
|||||||
+1
-1
@@ -114,7 +114,7 @@ public class OmegaConfigScreen<T extends Config> extends Screen {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onClose() {
|
public void onClose() {
|
||||||
client.openScreen(parent);
|
client.setScreen(parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user