Skip to content

Commit

Permalink
Fix gradle 9.0 deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
Grayray75 committed Sep 22, 2023
1 parent 4411fc6 commit b607c72
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ plugins {
id "maven-publish"
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

archivesBaseName = project.archives_base_name
base.archivesName = project.archives_base_name
version = "${project.mod_version}+${project.minecraft_version}"
group = project.maven_group

Expand Down Expand Up @@ -39,6 +36,9 @@ tasks.withType(JavaCompile).configureEach {
}

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

withSourcesJar()
}

Expand Down Expand Up @@ -67,7 +67,6 @@ modrinth {
versionNumber = "${project.mod_version}"
versionName = "Phosphor-Legacy v${project.mod_version} (1.12.2)"
versionType = "release"
changelog = "Initial release"

uploadFile = remapJar
gameVersions = ["1.12.2"]
Expand Down

0 comments on commit b607c72

Please sign in to comment.