2023-04-25 14:25:29 +02:00
|
|
|
|
2016-10-03 14:25:26 +02:00
|
|
|
plugins {
|
2020-06-04 23:41:01 +02:00
|
|
|
id "checkstyle"
|
2023-04-25 14:25:29 +02:00
|
|
|
id "pmd"
|
|
|
|
id 'maven-publish'
|
|
|
|
id 'signing'
|
2023-10-04 11:27:45 +02:00
|
|
|
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"
|
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 {
|
2023-05-26 09:42:12 +02:00
|
|
|
user = 'joerg'
|
2020-05-19 16:06:39 +02:00
|
|
|
name = 'content'
|
|
|
|
description = 'Content processing library for Java'
|
|
|
|
inceptionYear = '2016'
|
2023-05-26 09:42:12 +02:00
|
|
|
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'
|
2020-05-19 16:06:39 +02:00
|
|
|
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 {
|
2023-10-04 11:27:45 +02:00
|
|
|
//apply from: rootProject.file('gradle/ide/idea.gradle')
|
2023-04-25 14:25:29 +02:00
|
|
|
apply from: rootProject.file('gradle/repositories/maven.gradle')
|
2020-05-19 16:06:39 +02:00
|
|
|
apply from: rootProject.file('gradle/compile/java.gradle')
|
|
|
|
apply from: rootProject.file('gradle/test/junit5.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')
|
2023-10-04 11:27:45 +02:00
|
|
|
//apply from: rootProject.file('gradle/quality/spotbugs.gradle')
|
2023-04-25 14:25:29 +02:00
|
|
|
apply from: rootProject.file('gradle/publish/maven.gradle')
|
2018-07-10 14:41:20 +02:00
|
|
|
}
|
2023-04-25 14:25:29 +02:00
|
|
|
apply from: rootProject.file('gradle/publish/sonatype.gradle')
|
2023-05-26 09:42:12 +02:00
|
|
|
apply from: rootProject.file('gradle/publish/forgejo.gradle')
|
2022-11-07 23:13:54 +01:00
|
|
|
apply from: rootProject.file('gradle/quality/cyclonedx.gradle')
|