Skip to content

Commit bed03c8

Browse files
committed
Update Gradle 7.5.1 -> 7.6.1 and fix runClient
1 parent c79a283 commit bed03c8

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

build.gradle

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ minecraft {
6262

6363
configurations {
6464
jarLibs
65+
onlyJarLibs
6566
// Force choosing the correct nightly build because Mac OS chooses an invalid one
66-
all {
67+
configureEach {
6768
resolutionStrategy {
6869
force 'org.lwjgl.lwjgl:lwjgl-platform:2.9.4-nightly-20150209'
6970
}
@@ -113,7 +114,7 @@ dependencies {
113114
implementation('cabaletta:baritone-deobf-unoptimized-mcp-dev:1.2').setChanging(true)
114115

115116
// This Baritone WILL be included in the jar
116-
jarLibs('cabaletta:baritone-api:1.2').setChanging(true)
117+
onlyJarLibs('cabaletta:baritone-api:1.2').setChanging(true)
117118

118119
// Add everything in jarLibs to implementation (compile)
119120
implementation configurations.jarLibs
@@ -138,23 +139,23 @@ processResources {
138139
}
139140
}
140141

141-
task buildApiSource(type: Jar) { // Generate sources
142+
tasks.register('buildApiSource', Jar) { // Generate sources
142143
group 'build'
143144
description 'Assemble API library source archive'
144145

145146
archiveClassifier.set 'api-source'
146147
from sourceSets.main.allSource
147148
}
148149

149-
task buildApi(type: Jar) {
150+
tasks.register('buildApi', Jar) {
150151
group 'build'
151152
description 'Assemble API library archive'
152153

153154
archiveClassifier.set 'api'
154155
from sourceSets.main.output
155156
}
156157

157-
task buildAll {
158+
tasks.register('buildAll') {
158159
group 'build'
159160
description 'Assemble all jars'
160161

@@ -185,7 +186,7 @@ shadowJar {
185186
'kotlin/**/*.kotlin_metadata',
186187
'kotlin/**/*.kotlin_builtins',
187188
'META-INF/*.version'
188-
configurations = [project.configurations.jarLibs]
189+
configurations = [project.configurations.jarLibs, project.configurations.onlyJarLibs]
189190
relocate 'kotlin', 'com.lambda.shadow.kotlin'
190191
relocate 'kotlinx', 'com.lambda.shadow.kotlinx'
191192
finalizedBy 'configureReobfTaskForReobfShadowJar', 'reobfShadowJar'

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ forgeVersion=14.23.5.2860
1010
mappingsChannel=stable
1111
mappingsVersion=39-1.12
1212

13-
kotlinVersion=1.8.10
14-
kotlinxCoroutinesVersion=1.6.4
13+
kotlinVersion=1.8.20
14+
kotlinxCoroutinesVersion=1.7.0-Beta
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)