elx/build.gradle

42 lines
1.6 KiB
Groovy
Raw Normal View History

2016-11-01 17:28:05 +01:00
plugins {
2020-05-22 14:04:42 +02:00
id "de.marcphilipp.nexus-publish" version "0.4.0"
id "io.codearte.nexus-staging" version "0.21.1"
2020-05-11 23:49:55 +02:00
}
2020-05-22 14:04:42 +02:00
wrapper {
gradleVersion = "${project.property('gradle.wrapper.version')}"
distributionType = Wrapper.DistributionType.ALL
}
ext {
user = 'jprante'
name = 'elx'
description = 'Admin/Bulk/Search API extensions for Elasticsearch clients (node, transport, http)'
2020-05-22 14:04:42 +02:00
inceptionYear = '2019'
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'
2016-11-01 17:28:05 +01:00
}
subprojects {
2020-05-22 14:04:42 +02:00
apply plugin: 'java-library'
dependencies {
2019-05-02 19:46:21 +02:00
testImplementation "org.apache.logging.log4j:log4j-core:${project.property('log4j.version')}"
testImplementation "org.apache.logging.log4j:log4j-jul:${project.property('log4j.version')}"
testImplementation "org.apache.logging.log4j:log4j-slf4j-impl:${project.property('log4j.version')}"
}
2020-05-22 14:04:42 +02:00
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')
}
2020-05-22 14:04:42 +02:00
apply from: rootProject.file('gradle/publishing/sonatype.gradle')