2021-04-09 15:28:18 -04:00
|
|
|
/*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* The OpenSearch Contributors require contributions made to
|
|
|
|
* this file be licensed under the Apache-2.0 license or a
|
|
|
|
* compatible open source license.
|
|
|
|
*
|
|
|
|
* Modifications Copyright OpenSearch Contributors. See
|
|
|
|
* GitHub history for details.
|
|
|
|
*/
|
|
|
|
|
2021-03-16 04:53:48 -04:00
|
|
|
apply plugin: 'opensearch.build'
|
2018-06-10 20:03:21 -04:00
|
|
|
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_7
|
2021-07-06 12:55:23 -04:00
|
|
|
// targetting very old java versions enables a warning by default on newer JDK: disable it.
|
|
|
|
compileJava.options.compilerArgs += '-Xlint:-options'
|
2018-06-10 20:03:21 -04:00
|
|
|
|
|
|
|
// java_version_checker do not depend on core so only JDK signatures should be checked
|
2020-04-15 16:23:55 -04:00
|
|
|
tasks.named('forbiddenApisMain').configure {
|
2019-11-14 06:01:23 -05:00
|
|
|
replaceSignatureFiles 'jdk-signatures'
|
2018-08-22 02:05:22 -04:00
|
|
|
}
|
2018-06-10 20:03:21 -04:00
|
|
|
|
2019-04-09 14:52:50 -04:00
|
|
|
test.enabled = false
|
2018-06-10 20:03:21 -04:00
|
|
|
javadoc.enabled = false
|
|
|
|
loggerUsageCheck.enabled = false
|
|
|
|
jarHell.enabled = false
|