Skip to content

Commit d092a29

Browse files
committed
Update dependencies for 1.18.1
1 parent 076dde3 commit d092a29

3 files changed

Lines changed: 23 additions & 17 deletions

File tree

build.gradle

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
plugins {
2-
id 'fabric-loom' version '0.8-SNAPSHOT'
2+
id 'fabric-loom'
33
id 'maven-publish'
44
}
55

6-
sourceCompatibility = JavaVersion.VERSION_16
7-
targetCompatibility = JavaVersion.VERSION_16
6+
sourceCompatibility = JavaVersion.VERSION_17
7+
targetCompatibility = JavaVersion.VERSION_17
88

99
archivesBaseName = project.archives_base_name
1010
version = project.mod_version
1111
group = project.maven_group
1212

13-
minecraft {
14-
accessWidener "src/main/resources/${project.mod_name}.accesswidener"
13+
loom {
14+
accessWidenerPath = file("src/main/resources/${project.mod_name}.accesswidener")
1515
}
1616

1717
repositories {
@@ -33,7 +33,8 @@ dependencies {
3333
//modCompile "com.jamieswhiteshirt:developer-mode:${project.developer_mode_version}"
3434
modImplementation "com.terraformersmc:modmenu:${project.mod_menu_version}"
3535

36-
modRuntime "com.github.ultimateboomer:mc-smoothboot:${project.smoothboot_version}"
36+
// disable mc-smoothboot until build is available
37+
//modLocalRuntime "com.github.ultimateboomer:mc-smoothboot:${project.smoothboot_version}"
3738
}
3839

3940
processResources {
@@ -51,8 +52,8 @@ tasks.withType(JavaCompile).configureEach {
5152
// If Javadoc is generated, this must be specified in that task too.
5253
it.options.encoding = "UTF-8"
5354

54-
// Minecraft 1.17 (21w19a) upwards uses Java 16.
55-
it.options.release = 16
55+
// Minecraft 1.18-pre2 upwards uses Java 17.
56+
it.options.release = 17
5657
}
5758

5859
java {
@@ -64,7 +65,7 @@ java {
6465

6566
jar {
6667
from("LICENSE") {
67-
rename { "${it}_${project.archivesBaseName}"}
68+
rename { "${it}_${project.archivesBaseName}" }
6869
}
6970
}
7071

@@ -89,4 +90,4 @@ publishing {
8990
// The repositories here will be used for publishing your artifact, not for
9091
// retrieving dependencies.
9192
}
92-
}
93+
}

gradle.properties

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@
22
org.gradle.jvmargs=-Xmx1G
33

44
# Fabric Properties
5-
# check these on https://fabricmc.net/use
6-
minecraft_version=1.17
7-
yarn_mappings=1.17+build.12
8-
loader_version=0.11.3
5+
# Check https://fabricmc.net/versions.html
6+
minecraft_version=1.18.1
7+
yarn_mappings=1.18.1+build.18
8+
loader_version=0.12.12
9+
loom_version=0.10-SNAPSHOT
910

1011
# Mod Properties
1112
mod_name=resolutioncontrol
12-
mod_version=3.0.0
13+
mod_version=3.1.0
1314
maven_group=io.github.ultimateboomer
1415
archives_base_name=resolution-control-plus
1516

1617
# Dependencies
1718
# https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api/
18-
fabric_version=0.35.2+1.17
19+
fabric_version=0.45.2+1.18
1920
#developer_mode_version=1.0.15
2021
mod_menu_version=2.0.2
21-
smoothboot_version=1.16.5-1.6.0
22+
smoothboot_version=1.18-1.7.0

settings.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ pluginManagement {
66
}
77
gradlePluginPortal()
88
}
9+
10+
plugins {
11+
id 'fabric-loom' version "${loom_version}"
12+
}
913
}

0 commit comments

Comments
 (0)