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
|
|
|
|
2021-03-16 04:53:48 -04:00
|
|
|
apply plugin: 'opensearch.build'
|
2017-02-15 16:55:19 -05:00
|
|
|
|
2017-02-15 18:13:54 -05:00
|
|
|
dependencies {
|
2020-07-10 11:16:47 -04:00
|
|
|
compileOnly project(':distribution:tools:java-version-checker')
|
2020-06-14 16:30:44 -04:00
|
|
|
testImplementation "com.carrotsearch.randomizedtesting:randomizedtesting-runner:${versions.randomizedrunner}"
|
|
|
|
testImplementation "junit:junit:${versions.junit}"
|
|
|
|
testImplementation "org.hamcrest:hamcrest:${versions.hamcrest}"
|
2017-02-15 18:13:54 -05:00
|
|
|
}
|
|
|
|
|
2021-03-16 04:53:48 -04:00
|
|
|
archivesBaseName = 'opensearch-launchers'
|
2017-12-06 18:03:13 -05:00
|
|
|
|
2020-04-15 16:23:55 -04:00
|
|
|
tasks.withType(CheckForbiddenApis).configureEach {
|
2019-11-14 06:01:23 -05:00
|
|
|
replaceSignatureFiles 'jdk-signatures'
|
2018-08-22 02:05:22 -04:00
|
|
|
}
|
2017-12-06 18:03:13 -05:00
|
|
|
|
2019-01-08 06:39:03 -05:00
|
|
|
testingConventions {
|
2019-11-14 06:01:23 -05:00
|
|
|
naming.clear()
|
|
|
|
naming {
|
|
|
|
Tests {
|
2021-03-16 04:53:48 -04:00
|
|
|
baseClass 'org.opensearch.tools.launchers.LaunchersTestCase'
|
2019-01-08 06:39:03 -05:00
|
|
|
}
|
2019-11-14 06:01:23 -05:00
|
|
|
}
|
2019-01-08 06:39:03 -05:00
|
|
|
}
|
|
|
|
|
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
|