forked from opensearch-project/spring-data-opensearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
51 lines (44 loc) · 1.26 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* Copyright OpenSearch Contributors.
* SPDX-License-Identifier: Apache-2.0
*/
plugins {
alias(springLibs.plugins.spring.boot)
alias(pluginLibs.plugins.spotless)
alias(pluginLibs.plugins.editorconfig)
id("java-conventions")
}
buildscript {
dependencies {
classpath(pluginLibs.editorconfig)
classpath(pluginLibs.spotless)
}
}
dependencies {
api(project(":spring-data-opensearch"))
api(project(":spring-data-opensearch-starter"))
implementation(springLibs.boot.web)
implementation(jacksonLibs.core)
implementation(jacksonLibs.databind)
implementation(opensearchLibs.client) {
exclude("commons-logging", "commons-logging")
exclude("org.slf4j", "slf4j-api")
}
testImplementation(springLibs.test)
testImplementation(springLibs.boot.test)
testImplementation(springLibs.boot.test.autoconfigure)
testImplementation(opensearchLibs.testcontainers)
testImplementation(project(":spring-data-opensearch-test-autoconfigure"))
}
description = "Spring Data OpenSearch Spring Boot Example Project"
spotless {
java {
target("src/main/java/**/*.java", "src/test/java/org/opensearch/**/*.java")
trimTrailingWhitespace()
indentWithSpaces()
endWithNewline()
removeUnusedImports()
importOrder()
palantirJavaFormat()
}
}