forked from opensearch-project/spring-data-opensearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
73 lines (65 loc) · 1.99 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*
* Copyright OpenSearch Contributors.
* SPDX-License-Identifier: Apache-2.0
*/
plugins {
alias(pluginLibs.plugins.spotless)
alias(pluginLibs.plugins.editorconfig)
id("java-conventions")
}
buildscript {
dependencies {
classpath(pluginLibs.editorconfig)
classpath(pluginLibs.spotless)
}
}
dependencies {
implementation(project(":spring-data-opensearch-starter"))
implementation(libs.jupiter)
implementation(springLibs.boot.test.autoconfigure)
implementation(springLibs.test)
}
description = "Spring Data OpenSearch Spring Boot Autoconfiguration for Tests"
spotless {
java {
target("src/main/java/**/*.java", "src/test/java/org/opensearch/**/*.java")
trimTrailingWhitespace()
indentWithSpaces()
endWithNewline()
removeUnusedImports()
importOrder()
palantirJavaFormat()
}
}
publishing {
publications {
create<MavenPublication>("publishMaven") {
from(components["java"])
pom {
name.set("Spring Data OpenSearch Spring Boot Autoconfiguration for Tests")
packaging = "jar"
artifactId = "spring-data-opensearch-starter-test"
description.set("Spring Boot autoconfigurations for Spring Data Implementation for OpenSearch to support testing")
url.set("https://github.com/opensearch-project/spring-data-opensearch/")
scm {
connection.set("scm:git@github.com:opensearch-project/spring-data-opensearch.git")
developerConnection.set("scm:git@github.com:opensearch-project/spring-data-opensearch.git")
url.set("git@github.com:opensearch-project/spring-data-opensearch.git")
}
licenses {
license {
name.set("The Apache License, Version 2.0")
url.set("https://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
developers {
developer {
name.set("opensearch-project")
url.set("https://www.opensearch.org")
inceptionYear.set("2022")
}
}
}
}
}
}