Skip to content

Commit

Permalink
Fix Gradle deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
altrisi committed Jun 25, 2024
1 parent d0374b4 commit 091f5db
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ repositories {
}
}

sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21

archivesBaseName = project.archives_base_name
base {
archivesName = project.archives_base_name
}
version = project.minecraft_version+'-'+project.mod_version
group = project.maven_group

Expand Down Expand Up @@ -55,6 +54,9 @@ java {
// if it is present.
// If you remove this line, sources will not be generated.
withSourcesJar()

sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}

jar {
Expand Down

0 comments on commit 091f5db

Please sign in to comment.