elx/build.gradle

43 lines
1.6 KiB
Groovy
Raw Normal View History

2023-05-26 17:16:55 +02:00
2016-11-01 17:28:05 +01:00
plugins {
2023-05-26 17:16:55 +02:00
id "checkstyle"
id "pmd"
id 'maven-publish'
id 'signing'
2023-10-01 10:21:01 +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-05-26 17:16:55 +02:00
id "org.xbib.gradle.plugin.asciidoctor" version "3.0.0"
2016-11-01 17:28:05 +01:00
}
2020-05-25 18:43:49 +02:00
wrapper {
gradleVersion = libs.versions.gradle.get()
2020-05-25 18:43:49 +02:00
distributionType = Wrapper.DistributionType.ALL
}
2020-05-25 18:43:49 +02:00
ext {
2023-05-26 17:16:55 +02:00
user = 'joerg'
2020-05-25 18:43:49 +02:00
name = 'elx'
description = 'Admin/Bulk/Search API extensions for Elasticsearch clients (node, transport, http)'
inceptionYear = '2019'
2023-05-26 17:16:55 +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-25 18:43:49 +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'
}
2020-05-25 18:43:49 +02:00
subprojects {
2023-05-26 17:16:55 +02:00
apply from: rootProject.file('gradle/repositories/maven.gradle')
2020-05-25 18:43:49 +02:00
apply from: rootProject.file('gradle/compile/java.gradle')
apply from: rootProject.file('gradle/test/junit5.gradle')
2023-05-26 17:16:55 +02:00
apply from: rootProject.file('gradle/quality/pmd.gradle')
apply from: rootProject.file('gradle/publish/maven.gradle')
2016-11-01 17:28:05 +01:00
}
2023-05-26 17:16:55 +02:00
apply from: rootProject.file('gradle/publish/sonatype.gradle')
apply from: rootProject.file('gradle/publish/forgejo.gradle')
apply from: rootProject.file('gradle/quality/cyclonedx.gradle')