2017-02-15 16:55:19 -05:00
|
|
|
/*
|
|
|
|
* Licensed to Elasticsearch under one or more contributor
|
|
|
|
* license agreements. See the NOTICE file distributed with
|
|
|
|
* this work for additional information regarding copyright
|
|
|
|
* ownership. Elasticsearch licenses this file to you under
|
|
|
|
* the Apache License, Version 2.0 (the "License"); you may
|
|
|
|
* not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing,
|
|
|
|
* software distributed under the License is distributed on an
|
|
|
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
* KIND, either express or implied. See the License for the
|
|
|
|
* specific language governing permissions and limitations
|
|
|
|
* under the License.
|
|
|
|
*/
|
2018-10-23 05:06:46 -04:00
|
|
|
import de.thetaphi.forbiddenapis.gradle.CheckForbiddenApis
|
2017-02-15 16:55:19 -05:00
|
|
|
|
|
|
|
apply plugin: 'elasticsearch.build'
|
|
|
|
|
2017-02-15 18:13:54 -05:00
|
|
|
dependencies {
|
2018-06-10 20:03:21 -04:00
|
|
|
compile parent.project('java-version-checker')
|
2017-12-06 18:03:13 -05:00
|
|
|
testCompile "com.carrotsearch.randomizedtesting:randomizedtesting-runner:${versions.randomizedrunner}"
|
|
|
|
testCompile "junit:junit:${versions.junit}"
|
|
|
|
testCompile "org.hamcrest:hamcrest-all:${versions.hamcrest}"
|
2017-02-15 18:13:54 -05:00
|
|
|
}
|
|
|
|
|
2017-12-06 18:03:13 -05:00
|
|
|
archivesBaseName = 'elasticsearch-launchers'
|
|
|
|
|
2018-10-23 05:06:46 -04:00
|
|
|
tasks.withType(CheckForbiddenApis) {
|
2018-08-22 02:05:22 -04:00
|
|
|
replaceSignatureFiles 'jdk-signatures'
|
|
|
|
}
|
2017-12-06 18:03:13 -05:00
|
|
|
|
2019-01-08 06:39:03 -05:00
|
|
|
testingConventions {
|
|
|
|
naming.clear()
|
|
|
|
naming {
|
|
|
|
Tests {
|
|
|
|
baseClass 'org.elasticsearch.tools.launchers.LaunchersTestCase'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-16 12:55:41 -05:00
|
|
|
javadoc.enabled = false
|
2017-02-15 16:55:19 -05:00
|
|
|
loggerUsageCheck.enabled = false
|
2018-06-10 20:03:21 -04:00
|
|
|
jarHell.enabled = false
|