Engine/slf4j-compat/build.gradle

62 lines
1.5 KiB
Groovy
Raw Normal View History

2024-06-11 20:01:34 +02:00
plugins {
id 'java'
id 'io.freefair.lombok' version "${pluginLombok}"
}
dependencies {
// -> Runtime <-
// Lombok
compileOnly 'org.projectlombok:lombok:' + project.dependencyLombok
annotationProcessor 'org.projectlombok:lombok:' + project.dependencyLombok
// JetBrains Annotations
compileOnly 'org.jetbrains:annotations:' + project.dependencyJetbrainsAnnotations
// SLF4J
implementation 'org.slf4j:slf4j-api:' + project.dependencySlf4j
// -> Project <-
implementation project(":base")
}
javadoc.options {
setMemberLevel(JavadocMemberLevel.PUBLIC)
setOverview("src/main/javadoc/overview.html")
setLocale("en_US")
setJFlags([
// Force Javadoc to use English translations
"-Duser.language=en_US"
])
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}
publishing {
repositories {
maven {
name = "staropensource"
url = "https://mvn.staropensource.de/sosengine"
credentials(org.gradle.api.credentials.PasswordCredentials)
authentication {
//noinspection GroovyAssignabilityCheck
basic (BasicAuthentication)
}
}
}
publications {
//noinspection GroovyAssignabilityCheck
maven (MavenPublication) {
groupId = group
artifactId = "slf4j-compat"
version = version
//noinspection GroovyAssignabilityCheck
from components.java
}
}
}