mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
Bumps [org.junit.jupiter:junit-jupiter-api](https://github.com/junit-team/junit5) from 5.12.1 to 5.12.2. - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.12.1...r5.12.2) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter-api dependency-version: 5.12.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
88 lines
2.5 KiB
Kotlin
88 lines
2.5 KiB
Kotlin
plugins {
|
|
id("java")
|
|
id("maven-publish")
|
|
id("com.github.johnrengelman.shadow")
|
|
}
|
|
|
|
group = "de.oliver"
|
|
version = findProperty("jdbVersion") as String
|
|
description = "Library for storing JSON data locally"
|
|
|
|
java {
|
|
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
|
|
}
|
|
|
|
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("org.jetbrains:annotations:26.0.2")
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter-api:5.12.2")
|
|
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.12.1")
|
|
testImplementation("org.junit.platform:junit-platform-console-standalone:1.12.2")
|
|
testImplementation("com.google.code.gson:gson:2.13.0")
|
|
}
|
|
|
|
tasks {
|
|
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 = "JDB"
|
|
version = findProperty("jdbVersion") as String
|
|
from(project.components["java"])
|
|
}
|
|
}
|
|
}
|
|
|
|
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(17)
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
}
|