46 lines
1.9 KiB
Groovy
46 lines
1.9 KiB
Groovy
plugins {
|
|
id "de.marcphilipp.nexus-publish" version "0.4.0"
|
|
id "io.codearte.nexus-staging" version "0.21.1"
|
|
id "org.xbib.gradle.plugin.asciidoctor" version "1.6.0.1"
|
|
}
|
|
|
|
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'
|
|
}
|
|
|
|
apply plugin: 'java-library'
|
|
|
|
dependencies {
|
|
testImplementation "org.xbib:bibliographic-character-sets:${project.property('xbib-bibliographic-character-sets.version')}"
|
|
testImplementation "org.xbib:content-core:${project.property('xbib-content.version')}"
|
|
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'
|
|
}
|
|
testImplementation("org.mockito:mockito-core:${project.property('mockito.version')}") {
|
|
exclude group: 'org.hamcrest'
|
|
}
|
|
testImplementation "org.marc4j:marc4j:${project.property('marc4j.version')}"
|
|
}
|
|
|
|
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')
|