mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
Add libraries/config module
This commit is contained in:
45
libraries/config/build.gradle.kts
Normal file
45
libraries/config/build.gradle.kts
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
plugins {
|
||||||
|
id("java")
|
||||||
|
id("maven-publish")
|
||||||
|
id("com.github.johnrengelman.shadow")
|
||||||
|
}
|
||||||
|
|
||||||
|
group = "de.oliver"
|
||||||
|
description = "Library for plugin configuration"
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
maven("https://repo.papermc.io/repository/maven-public/")
|
||||||
|
maven("https://repo.fancyinnovations.com/releases")
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
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.2")
|
||||||
|
testImplementation("org.junit.platform:junit-platform-console-standalone:1.12.2")
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks {
|
||||||
|
compileJava {
|
||||||
|
options.encoding = Charsets.UTF_8.name()
|
||||||
|
options.release.set(17)
|
||||||
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
withJavadocJar()
|
||||||
|
}
|
||||||
|
|
||||||
|
javadoc {
|
||||||
|
options.encoding = Charsets.UTF_8.name()
|
||||||
|
}
|
||||||
|
processResources {
|
||||||
|
filteringCharset = Charsets.UTF_8.name()
|
||||||
|
}
|
||||||
|
|
||||||
|
test {
|
||||||
|
useJUnitPlatform()
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -35,6 +35,7 @@ include(":plugins:fancydialogs:fd-api")
|
|||||||
|
|
||||||
include(":libraries:common")
|
include(":libraries:common")
|
||||||
include(":libraries:jdb")
|
include(":libraries:jdb")
|
||||||
|
include(":libraries:config")
|
||||||
include(":libraries:plugin-tests")
|
include(":libraries:plugin-tests")
|
||||||
|
|
||||||
include(":libraries:packets")
|
include(":libraries:packets")
|
||||||
|
|||||||
Reference in New Issue
Block a user