2023-05-26 16:16:48 +02:00
|
|
|
|
2016-11-10 13:30:42 +01:00
|
|
|
plugins {
|
2023-05-26 16:16:48 +02:00
|
|
|
id 'maven-publish'
|
|
|
|
id 'signing'
|
|
|
|
id "io.github.gradle-nexus.publish-plugin" version "1.3.0"
|
2016-11-10 13:30:42 +01:00
|
|
|
}
|
|
|
|
|
2020-05-26 16:12:26 +02:00
|
|
|
wrapper {
|
2022-10-17 10:39:41 +02:00
|
|
|
gradleVersion = libs.versions.gradle.get()
|
2024-04-08 16:50:50 +02:00
|
|
|
distributionType = Wrapper.DistributionType.BIN
|
2020-05-26 16:12:26 +02:00
|
|
|
}
|
2016-11-10 13:30:42 +01:00
|
|
|
|
2020-05-26 16:12:26 +02:00
|
|
|
ext {
|
|
|
|
user = 'xbib'
|
|
|
|
name = 'oai'
|
|
|
|
description = 'Open Archive Initiative library for Java'
|
|
|
|
inceptionYear = '2016'
|
2023-05-26 16:16:48 +02:00
|
|
|
url = 'https://xbib.org/' + user + '/' + name
|
|
|
|
scmUrl = 'https://xbib.org/' + user + '/' + name
|
|
|
|
scmConnection = 'scm:git:git://xbib.org/' + user + '/' + name + '.git'
|
|
|
|
scmDeveloperConnection = 'scm:git:ssh://forgejo@xbib.org:' + user + '/' + name + '.git'
|
2020-05-26 16:12:26 +02:00
|
|
|
issueManagementSystem = 'Github'
|
|
|
|
issueManagementUrl = ext.scmUrl + '/issues'
|
|
|
|
licenseName = 'The Apache License, Version 2.0'
|
|
|
|
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
|
|
|
|
}
|
2016-11-10 13:30:42 +01:00
|
|
|
|
2020-05-26 16:12:26 +02:00
|
|
|
subprojects {
|
2023-05-26 16:16:48 +02:00
|
|
|
apply from: rootProject.file('gradle/repositories/maven.gradle')
|
2020-05-26 16:12:26 +02:00
|
|
|
apply from: rootProject.file('gradle/compile/java.gradle')
|
|
|
|
apply from: rootProject.file('gradle/test/junit5.gradle')
|
2023-05-26 16:16:48 +02:00
|
|
|
apply from: rootProject.file('gradle/publish/maven.gradle')
|
2016-11-10 13:30:42 +01:00
|
|
|
}
|
2023-05-26 16:16:48 +02:00
|
|
|
apply from: rootProject.file('gradle/publish/sonatype.gradle')
|
|
|
|
apply from: rootProject.file('gradle/publish/forgejo.gradle')
|