2016-09-15 17:07:08 +02:00
|
|
|
plugins {
|
2022-11-05 18:44:44 +01:00
|
|
|
id "pmd"
|
2023-04-04 20:55:40 +02:00
|
|
|
id 'maven-publish'
|
|
|
|
id 'signing'
|
2023-11-22 15:25:11 +01:00
|
|
|
id "io.github.gradle-nexus.publish-plugin" version "2.0.0-rc-1"
|
|
|
|
id "org.cyclonedx.bom" version "1.7.4"
|
2023-05-26 16:53:26 +02:00
|
|
|
id "org.xbib.gradle.plugin.asciidoctor" version "3.0.0"
|
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'
|
2023-05-26 16:53:26 +02:00
|
|
|
url = 'https://xbib.org/' + user + '/' + name
|
|
|
|
scmUrl = 'https://xbib.org/' + user + '/' + name
|
|
|
|
scmConnection = 'scm:git:git://xbib.org/' + user + '/' + name + '.git'
|
2020-05-19 23:40:25 +02:00
|
|
|
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 {
|
2023-11-22 15:25:11 +01:00
|
|
|
testImplementation testLibs.charactersets
|
|
|
|
testImplementation testLibs.json
|
|
|
|
testImplementation testLibs.xalan
|
|
|
|
testImplementation testLibs.xmlunit
|
|
|
|
testImplementation(testLibs.mockito) {
|
2019-11-07 11:10:31 +01:00
|
|
|
exclude group: 'org.hamcrest'
|
|
|
|
}
|
2023-11-22 15:25:11 +01:00
|
|
|
testImplementation testLibs.marc4j
|
2017-03-01 23:05:19 +01:00
|
|
|
}
|
|
|
|
|
2020-05-19 23:40:25 +02:00
|
|
|
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')
|
2022-11-05 18:44:44 +01:00
|
|
|
apply from: rootProject.file('gradle/quality/cyclonedx.gradle')
|
|
|
|
apply from: rootProject.file('gradle/quality/pmd.gradle')
|
2023-05-26 16:53:26 +02:00
|
|
|
apply from: rootProject.file('gradle/publish/maven.gradle')
|
|
|
|
apply from: rootProject.file('gradle/publish/sonatype.gradle')
|
|
|
|
apply from: rootProject.file('gradle/publish/forgejo.gradle')
|