Skip to content

Commit

Permalink
Upgrade to Gradle 7.4.2
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
yhtMinceraft1010X authored and damithc committed Jul 11, 2024
1 parent fa22fc6 commit 5580aa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '6.1.0'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}

repositories {
Expand All @@ -29,7 +29,7 @@ test {
}

application {
mainClassName = "seedu.duke.Duke"
mainClass = "seedu.duke.Duke"
}

shadowJar {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 5580aa2

Please sign in to comment.