Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveKunG committed Dec 12, 2023
1 parent c5a5b9e commit 1d889e7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ plugins {
id "fabric-loom" version "1.4-SNAPSHOT"
}

sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17

archivesBaseName = project.archives_base_name
base {
archivesName = project.archives_base_name
}
version = project.mod_version
group = project.maven_group

Expand Down Expand Up @@ -72,6 +71,11 @@ processResources {

String fileName = "${archives_base_name}-mc${minecraft_version}"

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

remapJar {
archiveVersion = "v${project.version}"
archiveBaseName = fileName
Expand Down

0 comments on commit 1d889e7

Please sign in to comment.