Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions aang/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version = "1.1.1"

dependencies {
implementation(project(":hero-api", configuration = "namedElements"))
implementation(project(":datatracker", configuration = "namedElements"))
Expand Down
27 changes: 0 additions & 27 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,6 @@ subprojects {
apply(plugin = "kotlin")
apply(plugin = "org.jetbrains.kotlin.plugin.serialization")

//ich weiß das ist kriminell aber
version = rootProject.libs.versions.minecraft.get() + "-" + when (name) {
"hero-api" -> "1.3.2"
"katara" -> "1.1.1"
"aang" -> "1.1.1"
"toph" -> "1.1.1"
"ffa-server" -> "1.3.21"
"datatracker" -> "1.0.18"
else -> version
} //+ "-SNAPSHOT"

dependencies {
"compileOnly"(rootProject.libs.annotations)
"implementation"(rootProject.libs.serialization)
Expand Down Expand Up @@ -139,22 +128,6 @@ subprojects {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}

/*tasks.withType<Checkstyle> {
maxErrors = 0
maxWarnings = 0
configFile = rootProject.file("checkstyle.xml")
}

extensions.configure<CheckstyleExtension> {
toolVersion = rootProject.libs.versions.checkstyleTools.get()
}

extensions.configure<SpotlessExtension> {
java {
licenseHeaderFile(rootProject.file("license_header.txt"))
}
}*/

tasks.withType<Javadoc> {
val options = options as? StandardJavadocDocletOptions ?: return@withType

Expand Down
2 changes: 2 additions & 0 deletions datatracker/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version = "1.0.18"

dependencies {
modApi(libs.bundles.fabric)
modApi(libs.bundles.silk)
Expand Down
2 changes: 2 additions & 0 deletions ffa-server/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version = "1.3.21"

val worldEditVersion: String by project

val includeImplementation: Configuration by configurations.creating {
Expand Down
2 changes: 2 additions & 0 deletions hero-api/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version = "1.3.2"

loom {
accessWidenerPath.set(file("src/main/resources/hero-api.accesswidener"))
}
Expand Down
2 changes: 2 additions & 0 deletions katara/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version = "1.1.1"

dependencies {
implementation(project(":hero-api", configuration = "namedElements"))
implementation(project(":datatracker", configuration = "namedElements"))
Expand Down
2 changes: 2 additions & 0 deletions toph/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version = "1.1.1"

dependencies {
implementation(project(":hero-api", configuration = "namedElements"))
implementation(project(":datatracker", configuration = "namedElements"))
Expand Down