Skip to content

Commit

Permalink
Remove more stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
tr7zw committed Mar 9, 2024
1 parent 03eadf4 commit 42823ea
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions EntityCulling-Forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ propertyDefaultIfUnset("relocateShadowedDependencies", true)

// Project property assertions

final String javaSourceDir = 'src/main/java/'

final String modGroupPath = modGroup.toString().replace('.' as char, '/' as char)

String targetPackageJava = javaSourceDir + modGroupPath

// Plugin application

// Git version checking, also checking for if this is a submodule
Expand Down Expand Up @@ -80,25 +74,8 @@ tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}

tasks.withType(ScalaCompile).configureEach {
options.encoding = 'UTF-8'
}

// Configure Minecraft

// Try to gather mod version from git tags if version is not manually specified
if (!modVersion) {
try {
modVersion = gitVersion()
} catch (Exception ignored) {
out.style(Style.Failure).text(
"Mod version could not be determined! Property 'modVersion' is not set, and either git is not installed or no git tags exist.\n" +
"Either specify a mod version in 'gradle.properties', or create at least one tag in git for this project."
)
modVersion = 'NO-GIT-TAG-SET'
}
}

if (includeMCVersionJar.toBoolean()){
version = "${minecraftVersion}-${modVersion}"
}
Expand Down

0 comments on commit 42823ea

Please sign in to comment.