Skip to content

Commit 9bc3155

Browse files
Update dependency gradle to v8 (#6)
1 parent bdeaa81 commit 9bc3155

5 files changed

Lines changed: 114 additions & 100 deletions

File tree

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ tasks.configureEach {
129129
tasks.register('agentJar', Jar).configure {
130130
from sourceSets.api.output
131131
from sourceSets.agent.output
132-
classifier 'agent'
132+
archiveClassifier.set 'agent'
133133
group 'build'
134134
description 'Builds the agent JAR'
135135

@@ -164,7 +164,7 @@ tasks.register('copyAgentJar', Copy) {
164164

165165
tasks.register('selfUpdateJar', Jar).configure {
166166
from sourceSets.selfupdate.output
167-
classifier 'selfupdate'
167+
archiveClassifier.set 'selfupdate'
168168
group 'build'
169169
description 'Builds the selfupdate JAR'
170170
manifest.attributes(makeManifestAttributes('Main-Class', 'com.mcmoddev.relauncher.selfupdate.SelfUpdate'))
@@ -195,7 +195,7 @@ tasks.named('shadowJar', ShadowJar).configure {
195195
project.configurations.shade,
196196
project.configurations.logback
197197
]
198-
classifier 'all'
198+
archiveClassifier.set 'all'
199199
group 'build'
200200
description 'Builds the whole project with its dependencies.'
201201
}
@@ -219,7 +219,7 @@ tasks.named(JavaPlugin.JAR_TASK_NAME, Jar).configure {
219219
tasks.register('apiJar', Jar).configure {
220220
from sourceSets.api.output
221221
manifest.attributes(makeManifestAttributes("", ""))
222-
classifier 'api'
222+
archiveClassifier.set 'api'
223223
description 'Builds the api jar.'
224224
dependsOn tasks.named('updateLicenses')
225225
group 'build'
@@ -229,15 +229,15 @@ tasks.register('sourcesJar', Jar).configure {
229229
dependsOn 'launcherClasses'
230230
from sourceSets.api.allSource
231231
from sourceSets.launcher.allSource
232-
classifier 'sources'
232+
archiveClassifier.set 'sources'
233233
group 'build'
234234
description 'Builds the sources jar'
235235
}
236236

237237
tasks.register('apiSourcesJar', Jar).configure {
238238
dependsOn 'apiClasses'
239239
from sourceSets.api.allSource
240-
classifier 'api-sources'
240+
archiveClassifier.set 'api-sources'
241241
group 'build'
242242
description 'Builds the api sources jar'
243243
}

gradle/wrapper/gradle-wrapper.jar

1.75 KB
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.1-bin.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

gradlew

Lines changed: 14 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 92 additions & 89 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)