/* * 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. */ plugins { id 'java' id 'org.springframework.boot' version '2.3.1.RELEASE' id 'io.spring.dependency-management' version '1.0.9.RELEASE' } group = 'com.example.restservice' version = '0.0.1-SNAPSHOT' sourceCompatibility = '1.8' repositories { mavenCentral() } dependencies { implementation('org.springframework.boot:spring-boot-starter-web') testImplementation('org.springframework.boot:spring-boot-starter-test') implementation 'org.elasticsearch.client:elasticsearch-rest-high-level-client:7.8.1' implementation 'org.elasticsearch.client:elasticsearch-rest-client:7.8.1' implementation 'org.elasticsearch:elasticsearch:7.8.1' } bootJar { mainClassName = 'com.example.restservice.RestServiceApplication' }