2016-10-03 14:25:26 +02:00
|
|
|
plugins {
|
2020-05-19 16:06:39 +02:00
|
|
|
id "de.marcphilipp.nexus-publish" version "0.4.0"
|
2019-11-06 21:40:15 +01:00
|
|
|
id "io.codearte.nexus-staging" version "0.21.1"
|
2022-11-07 23:13:54 +01:00
|
|
|
id "org.xbib.gradle.plugin.asciidoctor" version "2.5.2.2"
|
|
|
|
id "org.cyclonedx.bom" version "1.7.2"
|
2022-01-03 11:14:08 +01:00
|
|
|
id "com.github.spotbugs" version "5.0.3"
|
2020-06-04 23:41:01 +02:00
|
|
|
id "pmd"
|
|
|
|
id "checkstyle"
|
2016-10-03 14:25:26 +02:00
|
|
|
}
|
|
|
|
|
2020-05-19 16:06:39 +02:00
|
|
|
wrapper {
|
2022-08-04 11:47:14 +02:00
|
|
|
gradleVersion = libs.versions.gradle.get()
|
2020-05-19 16:06:39 +02:00
|
|
|
distributionType = Wrapper.DistributionType.ALL
|
|
|
|
}
|
2019-08-08 15:31:56 +02:00
|
|
|
|
2020-05-19 16:06:39 +02:00
|
|
|
ext {
|
|
|
|
user = 'xbib'
|
|
|
|
name = 'content'
|
|
|
|
description = 'Content processing library for Java'
|
|
|
|
inceptionYear = '2016'
|
|
|
|
url = 'https://github.com/' + user + '/' + name
|
|
|
|
scmUrl = 'https://github.com/' + user + '/' + name
|
|
|
|
scmConnection = 'scm:git:git://github.com/' + user + '/' + name + '.git'
|
|
|
|
scmDeveloperConnection = 'scm:git:ssh://git@github.com:' + user + '/' + name + '.git'
|
|
|
|
issueManagementSystem = 'Github'
|
|
|
|
issueManagementUrl = ext.scmUrl + '/issues'
|
|
|
|
licenseName = 'The Apache License, Version 2.0'
|
|
|
|
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
|
2019-11-22 14:56:38 +01:00
|
|
|
}
|
2019-08-08 15:31:56 +02:00
|
|
|
|
2020-05-19 16:06:39 +02:00
|
|
|
subprojects {
|
|
|
|
apply from: rootProject.file('gradle/ide/idea.gradle')
|
|
|
|
apply from: rootProject.file('gradle/compile/java.gradle')
|
|
|
|
apply from: rootProject.file('gradle/test/junit5.gradle')
|
2021-05-24 23:18:10 +02:00
|
|
|
apply from: rootProject.file('gradle/repositories/maven.gradle')
|
2022-11-07 23:13:54 +01:00
|
|
|
apply from: rootProject.file('gradle/quality/spotbugs.gradle')
|
2020-06-04 23:41:01 +02:00
|
|
|
apply from: rootProject.file('gradle/quality/checkstyle.gradle')
|
|
|
|
apply from: rootProject.file('gradle/quality/pmd.gradle')
|
2020-05-19 16:06:39 +02:00
|
|
|
apply from: rootProject.file('gradle/publishing/publication.gradle')
|
2018-07-10 14:41:20 +02:00
|
|
|
}
|
2020-05-19 16:06:39 +02:00
|
|
|
apply from: rootProject.file('gradle/publishing/sonatype.gradle')
|
2022-11-07 23:13:54 +01:00
|
|
|
apply from: rootProject.file('gradle/quality/cyclonedx.gradle')
|
|
|
|
|