Skip to content

Commit

Permalink
minor build tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 committed Jun 4, 2022
1 parent d8250c8 commit 514ce44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 41 deletions.
43 changes: 2 additions & 41 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ java {
targetCompatibility = JavaVersion.VERSION_17
}

////////////////////
// Forge/Minecraft
minecraft {
mappings(channel: "official", version: "${minecraft_version}")

Expand Down Expand Up @@ -171,8 +169,6 @@ jar {
}
}

/////////////
// Spotless
spotless {
java {
target("src/main/java/**/*.java")
Expand All @@ -182,47 +178,12 @@ spotless {
removeUnusedImports()
toggleOffOn()
eclipse().configFile("codeformat/codeformat.xml")
importOrderFile("codeformat/ae2.importorder")
importOrderFile("codeformat/mega.importorder")
}

format("json") {
target("src/*/resources/**/*.json")
targetExclude("src/generated/resources/**")
prettier().config(parser: "json")
}
}

////////////////
// CurseForge
/*
System.getenv("CURSEFORGE")?.with { String key ->
curseforge {
apiKey = key
project {
id = "609977"
changelogType = "markdown"
changelog = "View changelog at [the release page](https://github.com/Technici4n/AE2Things-Forge/releases/tag/${version})"
if (version.contains("alpha")) {
releaseType = "alpha"
} else if (version.contains("beta")) {
releaseType = "beta"
} else {
releaseType = "release"
}
addGameVersion("${minecraft_version}")
addGameVersion("Forge")
mainArtifact(jar) {
displayName = "AE2 Things v${version}"
relations {
requiredDependency("applied-energistics-2")
}
}
}
}
}
*/
}
File renamed without changes.

0 comments on commit 514ce44

Please sign in to comment.