2022-02-10 18:41:26 +01:00
|
|
|
plugins {
|
2023-04-28 11:05:24 +02:00
|
|
|
id "checkstyle"
|
|
|
|
id "pmd"
|
|
|
|
id 'maven-publish'
|
|
|
|
id 'signing'
|
|
|
|
id "io.github.gradle-nexus.publish-plugin" version "1.3.0"
|
|
|
|
id "com.github.spotbugs" version "5.0.14"
|
|
|
|
id "org.cyclonedx.bom" version "1.7.2"
|
2022-02-10 18:41:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
wrapper {
|
2022-06-01 18:39:14 +02:00
|
|
|
gradleVersion = libs.versions.gradle.get()
|
2022-02-10 18:41:26 +01:00
|
|
|
distributionType = Wrapper.DistributionType.ALL
|
|
|
|
}
|
|
|
|
|
|
|
|
ext {
|
2023-05-26 11:29:21 +02:00
|
|
|
user = 'joerg'
|
2022-02-10 18:41:26 +01:00
|
|
|
name = 'database'
|
|
|
|
description = 'JDBC connection pool and utilities'
|
|
|
|
inceptionYear = '2018'
|
2023-05-26 11:29:21 +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'
|
2022-02-10 18:41:26 +01: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')
|
2023-04-28 11:05:24 +02:00
|
|
|
apply from: rootProject.file('gradle/repositories/maven.gradle')
|
2022-02-10 18:41:26 +01:00
|
|
|
apply from: rootProject.file('gradle/compile/java.gradle')
|
|
|
|
apply from: rootProject.file('gradle/test/junit5.gradle')
|
2023-04-28 11:05:24 +02:00
|
|
|
apply from: rootProject.file('gradle/quality/checkstyle.gradle')
|
|
|
|
apply from: rootProject.file('gradle/quality/pmd.gradle')
|
|
|
|
apply from: rootProject.file('gradle/quality/spotbugs.gradle')
|
|
|
|
apply from: rootProject.file('gradle/publish/maven.gradle')
|
2022-02-10 18:41:26 +01:00
|
|
|
}
|
2023-04-28 11:05:24 +02:00
|
|
|
apply from: rootProject.file('gradle/publish/sonatype.gradle')
|
2023-05-26 11:29:21 +02:00
|
|
|
apply from: rootProject.file('gradle/publish/forgejo.gradle')
|
2023-04-28 11:05:24 +02:00
|
|
|
apply from: rootProject.file('gradle/quality/cyclonedx.gradle')
|