2016-08-30 09:43:15 +02:00
|
|
|
plugins {
|
2023-05-22 11:02:37 +02:00
|
|
|
id "checkstyle"
|
|
|
|
id "pmd"
|
|
|
|
id 'maven-publish'
|
|
|
|
id 'signing'
|
2023-10-21 22:21:31 +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-08-30 09:43:15 +02:00
|
|
|
}
|
2016-08-18 20:39:56 +02:00
|
|
|
|
2020-05-26 14:14:46 +02:00
|
|
|
wrapper {
|
2023-05-22 11:02:37 +02:00
|
|
|
gradleVersion = libs.versions.gradle.get()
|
2020-05-26 14:14:46 +02:00
|
|
|
distributionType = Wrapper.DistributionType.ALL
|
2016-08-18 20:39:56 +02:00
|
|
|
}
|
|
|
|
|
2020-05-26 14:14:46 +02:00
|
|
|
ext {
|
|
|
|
user = 'xbib'
|
|
|
|
name = 'bibliographic-character-sets'
|
|
|
|
description = 'Bibliographic character sets for Java'
|
|
|
|
inceptionYear = '2016'
|
2023-05-23 19:00:12 +02:00
|
|
|
url = 'https://xbib.org/' + user + '/' + name
|
|
|
|
scmUrl = 'https://xbib.org/' + user + '/' + name
|
|
|
|
scmConnection = 'scm:git::ssh://xbib.org/' + user + '/' + name + '.git'
|
|
|
|
scmDeveloperConnection = 'scm:git:ssh://forgejo@xbib.org:' + user + '/' + name + '.git'
|
|
|
|
issueManagementSystem = 'Forgejo'
|
2020-05-26 14:14:46 +02:00
|
|
|
issueManagementUrl = ext.scmUrl + '/issues'
|
|
|
|
licenseName = 'Affero GNU Public License Version 3'
|
|
|
|
licenseUrl = 'http://www.gnu.org/licenses/agpl-3.0.html'
|
2016-08-18 20:39:56 +02:00
|
|
|
}
|
|
|
|
|
2020-05-26 14:14:46 +02:00
|
|
|
apply plugin: 'java-library'
|
2023-10-21 22:21:31 +02:00
|
|
|
//apply from: rootProject.file('gradle/ide/idea.gradle')
|
2021-05-29 23:14:53 +02:00
|
|
|
apply from: rootProject.file('gradle/repositories/maven.gradle')
|
2020-05-26 14:14:46 +02:00
|
|
|
apply from: rootProject.file('gradle/compile/java.gradle')
|
|
|
|
apply from: rootProject.file('gradle/test/junit5.gradle')
|
2023-05-22 11:02:37 +02:00
|
|
|
apply from: rootProject.file('gradle/quality/checkstyle.gradle')
|
|
|
|
apply from: rootProject.file('gradle/quality/pmd.gradle')
|
2023-10-21 22:21:31 +02:00
|
|
|
//apply from: rootProject.file('gradle/quality/spotbugs.gradle')
|
2023-05-22 11:02:37 +02:00
|
|
|
apply from: rootProject.file('gradle/publish/maven.gradle')
|
2023-05-22 21:24:34 +02:00
|
|
|
apply from: rootProject.file('gradle/publish/forgejo.gradle')
|
2023-05-22 11:02:37 +02:00
|
|
|
apply from: rootProject.file('gradle/publish/sonatype.gradle')
|