You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
java-chat-bot/bot-api/build.gradle.kts

43 lines
884 B
Plaintext

1 year ago
plugins {
id("java-library")
id("chat-bot.java-conventions")
}
group = "eu.jonahbauer.chat"
version = "0.1.0-SNAPSHOT"
sourceSets {
create("config") {
java {
srcDir("src/config/java")
}
}
}
java {
registerFeature("config") {
usingSourceSet(sourceSets["config"])
}
}
val configCompileOnly by configurations
10 months ago
val configCompileOnlyApi by configurations
1 year ago
val configAnnotationProcessor by configurations
dependencies {
10 months ago
compileOnlyApi(libs.annotations)
1 year ago
api(project(path)) {
capabilities {
requireCapability("${project.group}:${project.name}-config")
}
}
implementation(libs.gson)
1 year ago
configCompileOnly(libs.lombok)
10 months ago
configCompileOnlyApi(libs.annotations)
1 year ago
configAnnotationProcessor(libs.lombok)
}
tasks.withType<JavaCompile> {
options.compilerArgs.add("-Xlint:-module")
}