/* * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 */ /* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. 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. */ apply plugin: 'opensearch.build' apply plugin: 'opensearch.publish' tasks.named('forbiddenApisMain').configure { replaceSignatureFiles 'jdk-signatures' } repositories { mavenLocal() maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" } mavenCentral() maven { url "https://plugins.gradle.org/m2/" } } dependencies { api "org.apache.logging.log4j:log4j-api:${versions.log4j}" api "org.apache.logging.log4j:log4j-core:${versions.log4j}" testImplementation "org.opensearch.test:framework:${opensearch_version}" testImplementation "org.apache.commons:commons-compress:1.21" testImplementation "org.apache.lucene:lucene-spatial3d:${versions.lucene}" } licenseFile = "LICENSE.txt" noticeFile = "NOTICE.txt" project.dependencyLicenses.enabled = false project.thirdPartyAudit.enabled = false project.loggerUsageCheck.enabled = false project.forbiddenApis.ignoreFailures = true publishing { publications { pluginZip(MavenPublication) { publication -> pom { name = "opensearch-geospatial-h3" description = 'OpenSearch Geospatial H3 library' licenses { license { name = "The Apache License, Version 2.0" url = "http://www.apache.org/licenses/LICENSE-2.0.txt" } } developers { developer { name = "OpenSearch" url = "https://github.com/opensearch-project/geospatial/libs/h3" } } } } } }