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"
|
2019-08-08 19:58:21 +02:00
|
|
|
}
|
|
|
|
|
2020-05-19 23:40:25 +02:00
|
|
|
wrapper {
|
|
|
|
gradleVersion = "${rootProject.property('gradle.wrapper.version')}"
|
|
|
|
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 {
|
|
|
|
testImplementation "org.xbib:bibliographic-character-sets:${project.property('xbib-bibliographic-character-sets.version')}"
|
2021-12-19 13:20:33 +01:00
|
|
|
testImplementation "org.xbib:content-json:${project.property('xbib-content.version')}"
|
2019-08-08 19:58:21 +02:00
|
|
|
testImplementation "xalan:xalan:${project.property('xalan.version')}"
|
|
|
|
testImplementation "org.xmlunit:xmlunit-matchers:${project.property('xmlunit-matchers.version')}"
|
|
|
|
testImplementation("com.github.stefanbirkner:system-rules:${project.property('system-rules.version')}") {
|
|
|
|
exclude module: 'junit'
|
|
|
|
}
|
2019-11-07 11:10:31 +01:00
|
|
|
testImplementation("org.mockito:mockito-core:${project.property('mockito.version')}") {
|
|
|
|
exclude group: 'org.hamcrest'
|
|
|
|
}
|
2020-05-02 18:49:19 +02:00
|
|
|
testImplementation "org.marc4j:marc4j:${project.property('marc4j.version')}"
|
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')
|
|
|
|
apply from: rootProject.file('gradle/publishing/publication.gradle')
|