Skip to content

Commit f36f86b

Browse files
yhtMinceraft1010Xdamithc
authored andcommitted
Upgrade to Gradle 7.4.2
The latest version of Gradle is 7.4.2. The mainClassName property has been deprecated and replaced with the mainClass property. The latest shadow version compatible with Gradle 7.4.2 is 7.1.2. Let's upgrade to Gradle 7.4.2, resolve the deprecation and upgrade to shadow 7.1.2.
1 parent 3d9b3de commit f36f86b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id 'java'
33
id 'application'
44
id 'checkstyle'
5-
id 'com.github.johnrengelman.shadow' version '6.1.0'
5+
id 'com.github.johnrengelman.shadow' version '7.1.2'
66
}
77

88
repositories {
@@ -29,7 +29,7 @@ test {
2929
}
3030

3131
application {
32-
mainClassName = "seedu.duke.Duke"
32+
mainClass = "seedu.duke.Duke"
3333
}
3434

3535
shadowJar {
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-6.9.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)