mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 06:28:53 +00:00
build & dependency updates
This commit is contained in:
8 files changed
+41
-57
No files matched your search
@@ -12,10 +12,9 @@ dependencies {
|
||||
implementation(libs.shadow)
|
||||
implementation(libs.indraCommon)
|
||||
implementation(libs.indraLicenseHeader)
|
||||
implementation(libs.licenser)
|
||||
implementation(libs.pluginYml)
|
||||
implementation(libs.minotaur)
|
||||
implementation("org.spongepowered:configurate-yaml:4.0.0")
|
||||
implementation(libs.configurateYaml)
|
||||
compileOnly("com.fasterxml.jackson.core:jackson-core:2.14.0")
|
||||
compileOnly("com.fasterxml.jackson.core:jackson-annotations:2.14.0")
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ plugins {
|
||||
id("net.kyori.indra")
|
||||
id("net.kyori.indra.git")
|
||||
id("net.kyori.indra.checkstyle")
|
||||
id("net.kyori.indra.license-header")
|
||||
id("net.kyori.indra.licenser.spotless")
|
||||
}
|
||||
|
||||
version = rootProject.version
|
||||
@@ -17,11 +17,18 @@ indra {
|
||||
github(GITHUB_ORGANIZATION, GITHUB_REPO)
|
||||
}
|
||||
|
||||
license {
|
||||
header.set(resources.text.fromFile(rootProject.file("LICENSE_HEADER")))
|
||||
exclude("net/draycia/carbon/common/messages/PrefixedDelegateIterator.java")
|
||||
exclude("net/draycia/carbon/common/messages/StandardPlaceholderResolverStrategyButDifferent.java")
|
||||
exclude("com/google/inject/assistedinject")
|
||||
spotless {
|
||||
java {
|
||||
targetExclude(
|
||||
"src/main/java/net/draycia/carbon/common/messages/PrefixedDelegateIterator.java",
|
||||
"src/main/java/net/draycia/carbon/common/messages/StandardPlaceholderResolverStrategyButDifferent.java",
|
||||
"src/main/java/com/google/inject/assistedinject/**"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
indraSpotlessLicenser {
|
||||
licenseHeaderFile(rootProject.file("LICENSE_HEADER"))
|
||||
}
|
||||
|
||||
tasks {
|
||||
|
||||
Reference in new issue
Block a user