Skip to content

Commit 39c2c1f

Browse files
committed
Update gradle and license headers
1 parent e1d1685 commit 39c2c1f

File tree

252 files changed

+259
-267
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

252 files changed

+259
-267
lines changed

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ tasks.named('shadowJar', ShadowJar).configure {
183183
configurations = [project.configurations.global]
184184
configurations.addAll(bySourceSetConfigurations.values())
185185
manifest.attributes(makeManifestAttributes(application.getMainClass().get()))
186-
classifier 'all'
186+
archiveClassifier.set 'all'
187187
group 'build'
188188
description 'Builds the whole project with its dependencies.'
189189
dependsOn tasks.named('updateLicenses')
@@ -193,7 +193,7 @@ tasks.named(JavaPlugin.JAR_TASK_NAME, Jar).configure {
193193
from sourceSets.main.output
194194
from sourceSets.core.output
195195
manifest.attributes(makeManifestAttributes(application.getMainClass().get()))
196-
classifier 'core-no-deps'
196+
archiveClassifier.set 'core-no-deps'
197197
description 'Builds the core sourceSet without its dependencies.'
198198
dependsOn tasks.named('updateLicenses')
199199
}
@@ -206,7 +206,7 @@ void configureBotJar(String botName, SourceSet sourceSet) {
206206
exclude 'META-INF/*.SF'
207207
exclude 'META-INF/*.DSA'
208208
exclude 'META-INF/*.RSA'
209-
classifier(botName)
209+
archiveClassifier.set(botName)
210210
manifest.attributes(makeManifestAttributes('com.mcmoddev.mmdbot.core.OnlyOneBotRunner'))
211211
configurations.add(project.configurations.global)
212212
configurations.add((Configuration) bySourceSetConfigurations.get(sourceSet))
@@ -218,7 +218,7 @@ void configureBotJar(String botName, SourceSet sourceSet) {
218218
from sourceSets.main.output
219219
from sourceSets.core.output
220220
from sourceSet.output
221-
classifier "${botName}-no-deps"
221+
archiveClassifier.set "${botName}-no-deps"
222222
manifest.attributes(makeManifestAttributes('com.mcmoddev.mmdbot.core.OnlyOneBotRunner'))
223223
group 'build'
224224
description "Builds the bot $botName without its dependencies."
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-8.0.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew

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

gradlew.bat

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

src/commander/java/com/mcmoddev/mmdbot/commander/TheCommander.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
3-
* Copyright (C) 2016-2022 <MMD - MinecraftModDevelopment>
3+
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
44
*
55
* This library is free software; you can redistribute it and/or
66
* modify it under the terms of the GNU Lesser General Public

src/commander/java/com/mcmoddev/mmdbot/commander/annotation/RegisterSlashCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
3-
* Copyright (C) 2016-2022 <MMD - MinecraftModDevelopment>
3+
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
44
*
55
* This library is free software; you can redistribute it and/or
66
* modify it under the terms of the GNU Lesser General Public

src/commander/java/com/mcmoddev/mmdbot/commander/cfwebhooks/CFProject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
3-
* Copyright (C) 2016-2022 <MMD - MinecraftModDevelopment>
3+
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
44
*
55
* This library is free software; you can redistribute it and/or
66
* modify it under the terms of the GNU Lesser General Public

src/commander/java/com/mcmoddev/mmdbot/commander/cfwebhooks/CFProjects.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
3-
* Copyright (C) 2016-2022 <MMD - MinecraftModDevelopment>
3+
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
44
*
55
* This library is free software; you can redistribute it and/or
66
* modify it under the terms of the GNU Lesser General Public

src/commander/java/com/mcmoddev/mmdbot/commander/cfwebhooks/CFUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
3-
* Copyright (C) 2016-2022 <MMD - MinecraftModDevelopment>
3+
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
44
*
55
* This library is free software; you can redistribute it and/or
66
* modify it under the terms of the GNU Lesser General Public

src/commander/java/com/mcmoddev/mmdbot/commander/cfwebhooks/CurseForgeManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
3-
* Copyright (C) 2016-2022 <MMD - MinecraftModDevelopment>
3+
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
44
*
55
* This library is free software; you can redistribute it and/or
66
* modify it under the terms of the GNU Lesser General Public

0 commit comments

Comments
 (0)