2016-09-15 17:07:08 +02:00
|
|
|
plugins {
|
2020-05-19 23:40:25 +02:00
|
|
|
id "de.marcphilipp.nexus-publish" version "0.4.0"
|
2019-11-06 22:29:52 +01:00
|
|
|
id "io.codearte.nexus-staging" version "0.21.1"
|
2021-12-19 13:20:33 +01:00
|
|
|
id "org.xbib.gradle.plugin.asciidoctor" version "2.5.2.1"
|
2022-11-05 18:44:44 +01:00
|
|
|
id "org.cyclonedx.bom" version "1.7.2"
|
|
|
|
id "com.github.spotbugs" version "5.0.13"
|
|
|
|
id "checkstyle"
|
|
|
|
id "pmd"
|
2019-08-08 19:58:21 +02:00
|
|
|
}
|
|
|
|
|
2020-05-19 23:40:25 +02:00
|
|
|
wrapper {
|
2022-10-13 20:50:32 +02:00
|
|
|
gradleVersion = libs.versions.gradle.get()
|
2020-05-19 23:40:25 +02:00
|
|
|
distributionType = Wrapper.DistributionType.ALL
|
|
|
|
}
|
|
|
|
|
|
|
|
ext {
|
|
|
|
user = 'xbib'
|
|
|
|
name = 'marc'
|
|
|
|
description = 'MARC bibliographic data 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-08-08 19:58:21 +02:00
|
|
|
apply plugin: 'java-library'
|
2016-11-19 17:24:10 +01:00
|
|
|
|
2019-08-08 19:58:21 +02:00
|
|
|
dependencies {
|
2022-10-13 20:50:32 +02:00
|
|
|
testImplementation libs.charactersets
|
|
|
|
testImplementation libs.json
|
|
|
|
testImplementation libs.xalan
|
|
|
|
testImplementation libs.xmlunit
|
|
|
|
testImplementation(libs.mockito) {
|
2019-11-07 11:10:31 +01:00
|
|
|
exclude group: 'org.hamcrest'
|
|
|
|
}
|
2022-10-13 20:50:32 +02:00
|
|
|
testImplementation libs.marc4j
|
2017-03-01 23:05:19 +01:00
|
|
|
}
|
|
|
|
|
2020-05-19 23:40:25 +02:00
|
|
|
apply from: rootProject.file('gradle/ide/idea.gradle')
|
|
|
|
apply from: rootProject.file('gradle/compile/java.gradle')
|
|
|
|
apply from: rootProject.file('gradle/test/junit5.gradle')
|
2022-11-07 19:50:39 +01:00
|
|
|
apply from: rootProject.file('gradle/repositories/maven.gradle')
|
2020-05-19 23:40:25 +02:00
|
|
|
apply from: rootProject.file('gradle/publishing/publication.gradle')
|
2022-11-05 18:44:44 +01:00
|
|
|
apply from: rootProject.file('gradle/quality/cyclonedx.gradle')
|
|
|
|
apply from: rootProject.file('gradle/quality/spotbugs.gradle')
|
|
|
|
apply from: rootProject.file('gradle/quality/checkstyle.gradle')
|
|
|
|
apply from: rootProject.file('gradle/quality/pmd.gradle')
|