51 lines
1.9 KiB
Groovy
51 lines
1.9 KiB
Groovy
plugins {
|
|
id "checkstyle"
|
|
id "pmd"
|
|
id 'maven-publish'
|
|
id 'signing'
|
|
id "io.github.gradle-nexus.publish-plugin" version "2.0.0-rc-1"
|
|
//id "com.github.spotbugs" version "6.0.0-beta.3"
|
|
id "org.cyclonedx.bom" version "1.7.4"
|
|
id "org.xbib.gradle.plugin.asciidoctor" version "3.0.0"
|
|
}
|
|
|
|
wrapper {
|
|
gradleVersion = libs.versions.gradle.get()
|
|
distributionType = Wrapper.DistributionType.ALL
|
|
}
|
|
|
|
ext {
|
|
user = 'joerg'
|
|
name = 'event'
|
|
description = 'Event framework for Java (NIO paths, files, timers, journals)'
|
|
inceptionYear = '2021'
|
|
url = 'https://xbib.org/' + user + '/' + name
|
|
scmUrl = 'https://xbib.org/' + user + '/' + name
|
|
scmConnection = 'scm:git:git://xbib.org/' + user + '/' + name + '.git'
|
|
scmDeveloperConnection = 'scm:git:ssh://forgejo@xbib.org:' + user + '/' + name + '.git'
|
|
issueManagementSystem = 'Forgejo'
|
|
issueManagementUrl = ext.scmUrl + '/issues'
|
|
licenseName = 'The Apache License, Version 2.0'
|
|
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
|
|
}
|
|
|
|
apply plugin: 'java-library'
|
|
//apply from: rootProject.file('gradle/ide/idea.gradle')
|
|
apply from: rootProject.file('gradle/compile/java.gradle')
|
|
apply from: rootProject.file('gradle/test/junit5.gradle')
|
|
apply from: rootProject.file('gradle/repositories/maven.gradle')
|
|
apply from: rootProject.file('gradle/quality/checkstyle.gradle')
|
|
apply from: rootProject.file('gradle/quality/pmd.gradle')
|
|
//apply from: rootProject.file('gradle/quality/spotbugs.gradle')
|
|
apply from: rootProject.file('gradle/publish/maven.gradle')
|
|
|
|
dependencies {
|
|
api libs.settings.api
|
|
implementation libs.net
|
|
implementation libs.time
|
|
implementation libs.datastructures.common
|
|
implementation libs.datastructures.json.tiny
|
|
implementation libs.reactivestreams
|
|
testImplementation libs.rxjava3
|
|
testImplementation libs.settings.datastructures.json
|
|
}
|