-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3bc251c
commit e75c0b7
Showing
279 changed files
with
7,848 additions
and
7,722 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
max_line_length = 120 | ||
tab_width = 4 | ||
trim_trailing_whitespace = true | ||
ij_continuation_indent_size = 2 | ||
ij_java_keep_simple_blocks_in_one_line = false | ||
ij_java_keep_simple_classes_in_one_line = true | ||
ij_java_keep_simple_lambdas_in_one_line = true | ||
ij_java_keep_simple_methods_in_one_line = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
plugins { | ||
`sf-project-conventions` | ||
alias(libs.plugins.blossom) | ||
`sf-project-conventions` | ||
alias(libs.plugins.blossom) | ||
} | ||
|
||
sourceSets { | ||
main { | ||
blossom { | ||
javaSources { | ||
property("version", rootProject.version.toString()) | ||
property("description", rootProject.description) | ||
property("url", "https://soulfiremc.com") | ||
property("commit", indraGit.commit()?.name ?: "unknown") | ||
} | ||
} | ||
main { | ||
blossom { | ||
javaSources { | ||
property("version", rootProject.version.toString()) | ||
property("description", rootProject.description) | ||
property("url", "https://soulfiremc.com") | ||
property("commit", indraGit.commit()?.name ?: "unknown") | ||
} | ||
} | ||
} | ||
} | ||
|
||
idea { | ||
module { | ||
generatedSourceDirs.addAll( | ||
listOf( | ||
project.layout.buildDirectory | ||
.dir("generated/sources/blossom/main/java") | ||
.get().asFile, | ||
) | ||
) | ||
} | ||
module { | ||
generatedSourceDirs.addAll( | ||
listOf( | ||
project.layout.buildDirectory | ||
.dir("generated/sources/blossom/main/java") | ||
.get().asFile, | ||
) | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
plugins { | ||
base | ||
base | ||
} | ||
|
||
allprojects { | ||
group = "com.soulfiremc" | ||
version = property("maven_version")!! | ||
description = "Advanced Minecraft Server-Stresser Tool." | ||
group = "com.soulfiremc" | ||
version = property("maven_version")!! | ||
description = "Advanced Minecraft Server-Stresser Tool." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
plugins { | ||
`kotlin-dsl` | ||
`kotlin-dsl` | ||
} | ||
|
||
repositories { | ||
gradlePluginPortal() | ||
mavenCentral() | ||
gradlePluginPortal() | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
// this is OK as long as the same version catalog is used in the main build and build-logic | ||
// see https://github.com/gradle/gradle/issues/15383#issuecomment-779893192 | ||
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location)) | ||
implementation(libs.gradle.plugin.shadow) | ||
implementation(libs.gradle.plugin.licenser) | ||
implementation(libs.gradle.plugin.lombok) | ||
implementation(libs.gradle.plugin.indra.git) | ||
// this is OK as long as the same version catalog is used in the main build and build-logic | ||
// see https://github.com/gradle/gradle/issues/15383#issuecomment-779893192 | ||
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location)) | ||
implementation(libs.gradle.plugin.shadow) | ||
implementation(libs.gradle.plugin.licenser) | ||
implementation(libs.gradle.plugin.lombok) | ||
implementation(libs.gradle.plugin.indra.git) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
dependencyResolutionManagement { | ||
versionCatalogs { | ||
create("libs") { | ||
from(files("../gradle/libs.versions.toml")) | ||
} | ||
versionCatalogs { | ||
create("libs") { | ||
from(files("../gradle/libs.versions.toml")) | ||
} | ||
} | ||
} | ||
|
||
rootProject.name = "soulfire-buildsrc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
buildSrc/src/main/kotlin/sf-checkstyle-conventions.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
plugins { | ||
checkstyle | ||
checkstyle | ||
} | ||
|
||
checkstyle { | ||
maxErrors = 0 | ||
maxWarnings = 0 | ||
toolVersion = libs.checkstyle.get().version.toString() | ||
maxErrors = 0 | ||
maxWarnings = 0 | ||
toolVersion = libs.checkstyle.get().version.toString() | ||
} | ||
|
||
// To fix a conflict in checkstyle dependencies | ||
configurations.checkstyle { | ||
resolutionStrategy.capabilitiesResolution.withCapability("com.google.collections:google-collections") { | ||
select("com.google.guava:guava:" + libs.guava.get().version) | ||
} | ||
resolutionStrategy.capabilitiesResolution.withCapability("com.google.collections:google-collections") { | ||
select("com.google.guava:guava:" + libs.guava.get().version) | ||
} | ||
} |
Oops, something went wrong.