2023-04-25 17:47:23 +02:00
|
|
|
|
2020-09-12 22:42:03 +02:00
|
|
|
plugins {
|
2022-11-05 20:32:41 +01:00
|
|
|
id "checkstyle"
|
|
|
|
id "pmd"
|
2023-04-25 17:47:23 +02:00
|
|
|
id 'maven-publish'
|
|
|
|
id 'signing'
|
2023-09-30 22:59:12 +02:00
|
|
|
id "io.github.gradle-nexus.publish-plugin" version "2.0.0-rc-1"
|
|
|
|
id "com.github.spotbugs" version "6.0.0-beta.3"
|
|
|
|
id "org.cyclonedx.bom" version "1.7.4"
|
2023-08-21 18:25:22 +02:00
|
|
|
id "org.xbib.gradle.plugin.asciidoctor" version "3.0.0"
|
2020-09-12 22:42:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
wrapper {
|
2022-06-01 10:09:09 +02:00
|
|
|
gradleVersion = libs.versions.gradle.get()
|
2020-09-12 22:42:03 +02:00
|
|
|
distributionType = Wrapper.DistributionType.ALL
|
|
|
|
}
|
|
|
|
|
|
|
|
ext {
|
2023-05-24 20:16:02 +02:00
|
|
|
user = 'joerg'
|
2020-09-12 22:42:03 +02:00
|
|
|
name = 'datastructures'
|
|
|
|
description = 'Data structures for Java'
|
|
|
|
inceptionYear = '2012'
|
2023-05-24 20:16:02 +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-09-12 22:42:03 +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'
|
|
|
|
}
|
|
|
|
|
|
|
|
subprojects {
|
|
|
|
apply from: rootProject.file('gradle/ide/idea.gradle')
|
2021-05-25 13:48:10 +02:00
|
|
|
apply from: rootProject.file('gradle/repositories/maven.gradle')
|
2023-04-25 17:47:23 +02:00
|
|
|
apply from: rootProject.file('gradle/compile/java.gradle')
|
2022-11-05 20:32:41 +01:00
|
|
|
apply from: rootProject.file('gradle/test/junit5.gradle')
|
2023-04-25 17:47:23 +02:00
|
|
|
apply from: rootProject.file('gradle/documentation/asciidoc.gradle')
|
2022-11-05 20:32:41 +01:00
|
|
|
apply from: rootProject.file('gradle/quality/checkstyle.gradle')
|
|
|
|
apply from: rootProject.file('gradle/quality/pmd.gradle')
|
2023-09-30 22:59:12 +02:00
|
|
|
//apply from: rootProject.file('gradle/quality/spotbugs.gradle')
|
2023-04-25 17:47:23 +02:00
|
|
|
apply from: rootProject.file('gradle/publish/maven.gradle')
|
2020-09-12 22:42:03 +02:00
|
|
|
}
|
2023-04-25 17:47:23 +02:00
|
|
|
apply from: rootProject.file('gradle/publish/sonatype.gradle')
|
2023-05-24 20:16:02 +02:00
|
|
|
apply from: rootProject.file('gradle/publish/forgejo.gradle')
|
2022-11-05 20:32:41 +01:00
|
|
|
apply from: rootProject.file('gradle/quality/cyclonedx.gradle')
|