Files
FancyPlugins/plugins/fancyholograms/api/build.gradle.kts
dependabot[bot] df53a92293 chore(deps): bump org.lushplugins:ChatColorHandler from 4.0.0 to 5.1.3
Bumps org.lushplugins:ChatColorHandler from 4.0.0 to 5.1.3.

---
updated-dependencies:
- dependency-name: org.lushplugins:ChatColorHandler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-22 11:33:31 +01:00

75 lines
1.9 KiB
Kotlin

plugins {
id("java-library")
id("maven-publish")
id("com.gradleup.shadow")
}
val minecraftVersion = "1.19.4"
dependencies {
compileOnly("io.papermc.paper:paper-api:$minecraftVersion-R0.1-SNAPSHOT")
compileOnly(project(":libraries:common"))
compileOnly("de.oliver.FancyAnalytics:logger:0.0.6")
implementation("org.lushplugins:ChatColorHandler:5.1.3")
}
tasks {
shadowJar {
relocate("org.lushplugins.chatcolorhandler", "de.oliver.fancyholograms.libs.chatcolorhandler")
archiveClassifier.set("")
}
publishing {
repositories {
maven {
name = "fancypluginsReleases"
url = uri("https://repo.fancyplugins.de/releases")
credentials(PasswordCredentials::class)
authentication {
isAllowInsecureProtocol = true
create<BasicAuthentication>("basic")
}
}
maven {
name = "fancypluginsSnapshots"
url = uri("https://repo.fancyplugins.de/snapshots")
credentials(PasswordCredentials::class)
authentication {
isAllowInsecureProtocol = true
create<BasicAuthentication>("basic")
}
}
}
publications {
create<MavenPublication>("maven") {
groupId = "de.oliver"
artifactId = "FancyHolograms"
version = getFHVersion()
from(project.components["java"])
}
}
}
java {
withSourcesJar()
withJavadocJar()
}
javadoc {
options.encoding = Charsets.UTF_8.name()
}
compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(17)
}
}
fun getFHVersion(): String {
return file("../VERSION").readText()
}