mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
Bumps [com.google.code.gson:gson](https://github.com/google/gson) from 2.12.1 to 2.13.0. - [Release notes](https://github.com/google/gson/releases) - [Changelog](https://github.com/google/gson/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/gson/compare/gson-parent-2.12.1...gson-parent-2.13.0) --- updated-dependencies: - dependency-name: com.google.code.gson:gson dependency-version: 2.13.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
60 lines
1.5 KiB
Kotlin
60 lines
1.5 KiB
Kotlin
plugins {
|
|
id("java")
|
|
id("maven-publish")
|
|
id("com.gradleup.shadow")
|
|
}
|
|
|
|
group = "de.oliver"
|
|
description = "Tool to setup a complete environment for testing"
|
|
|
|
java {
|
|
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven("https://repo.papermc.io/repository/maven-public/")
|
|
maven("https://repo.fancyplugins.de/releases")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly("com.google.code.gson:gson:2.13.0")
|
|
implementation("com.squareup.okhttp3:okhttp:4.12.0")
|
|
implementation("org.jetbrains:annotations:26.0.2")
|
|
|
|
implementation("de.oliver.FancyAnalytics:java-sdk:0.0.2")
|
|
implementation("de.oliver.FancyAnalytics:logger:0.0.6")
|
|
}
|
|
|
|
tasks {
|
|
jar {
|
|
manifest {
|
|
attributes["Main-Class"] = "de.oliver.deployment.Main"
|
|
}
|
|
}
|
|
|
|
shadowJar{
|
|
archiveClassifier.set("")
|
|
}
|
|
|
|
compileJava {
|
|
options.encoding = Charsets.UTF_8.name() // We want UTF-8 for everything
|
|
|
|
// Set the release flag. This configures what version bytecode the compiler will emit, as well as what JDK APIs are usable.
|
|
// See https://openjdk.java.net/jeps/247 for more information.
|
|
options.release.set(21)
|
|
}
|
|
|
|
java {
|
|
withSourcesJar()
|
|
withJavadocJar()
|
|
}
|
|
|
|
javadoc {
|
|
options.encoding = Charsets.UTF_8.name() // We want UTF-8 for everything
|
|
}
|
|
processResources {
|
|
filteringCharset = Charsets.UTF_8.name() // We want UTF-8 for everything
|
|
}
|
|
}
|