forked from spring-attic/spring-data-solr
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
131 lines (118 loc) · 4.62 KB
/
build.gradle
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0-rc-1'
}
repositories {
mavenLocal()
maven {
url = uri('https://repo.maven.apache.org/maven2')
}
}
dependencies {
api 'org.slf4j:slf4j-api:2.0.2'
api 'org.springframework:spring-context:6.0.10'
api 'org.springframework:spring-tx:6.0.10'
api 'org.springframework.data:spring-data-commons:3.1.0'
api 'org.apache.commons:commons-lang3:3.1'
api 'joda-time:joda-time:2.12.5'
api 'org.apache.solr:solr-solrj:8.7.0'
api 'org.apache.solr:solr-core:8.7.0'
api 'com.fasterxml.jackson.core:jackson-databind:2.15.2'
api 'org.slf4j:slf4j-api:2.0.2'
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.3'
testImplementation 'org.junit.vintage:junit-vintage-engine:5.9.3'
testImplementation 'org.mockito:mockito-core:5.2.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.2.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.springframework:spring-test:6.0.10'
testImplementation 'ch.qos.logback:logback-classic:1.4.1'
testImplementation 'org.projectlombok:lombok:1.18.20'
testImplementation 'org.apache.solr:solr-langid:8.7.0'
testImplementation 'org.apache.geronimo.specs:geronimo-jcdi_2.0_spec:1.0.1'
testImplementation 'jakarta.interceptor:jakarta.interceptor-api:2.1.0'
testImplementation 'jakarta.inject:jakarta.inject-api:2.0.1'
testImplementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
testImplementation 'javax.annotation:javax.annotation-api:1.3.2'
testImplementation 'javax.validation:validation-api:2.0.1.Final'
testImplementation 'org.apache.openwebbeans:openwebbeans-se:2.0.27'
testImplementation 'org.springframework:spring-jdbc:6.0.10'
testImplementation 'com.h2database:h2:1.3.168'
testImplementation 'jakarta.servlet:jakarta.servlet-api:6.0.0'
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.3'
testImplementation 'org.junit.vintage:junit-vintage-engine:5.9.3'
testImplementation 'org.mockito:mockito-core:5.2.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.2.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.springframework:spring-test:6.0.10'
testImplementation 'ch.qos.logback:logback-classic:1.4.1'
testCompileOnly 'org.projectlombok:lombok:1.18.20'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.20'
compileOnly 'jakarta.enterprise:jakarta.enterprise.cdi-api:4.0.1'
}
group = 'io.github.net-a-porter'
archivesBaseName = 'spring-data-solr'
version = '5.1.5'
description = 'Spring Data Solr - Support to spring-framework 6'
java.sourceCompatibility = JavaVersion.VERSION_17
java {
withSourcesJar()
withJavadocJar()
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
tasks.withType(Javadoc) {
options.encoding = 'UTF-8'
}
publishing {
publications {
mavenJava(MavenPublication) {
from(components["java"])
pom {
afterEvaluate {
name = project.description
description = project.description
}
url = 'https://github.com/NET-A-PORTER/spring-data-solr'
licenses {
license {
name = "Apache License, Version 2.0"
url = "https://www.apache.org/licenses/LICENSE-2.0"
}
}
developers {
developer {
id = 'shinusuresh'
name = 'Shinu Suresh'
email = '[email protected]'
}
developer {
id = 'ChrisDeFer'
name = 'Christopher Young'
email = '[email protected]'
}
}
scm {
connection = 'scm:git:https://github.com/NET-A-PORTER/spring-data-solr.git'
developerConnection = 'scm:git:git://github.com/NET-A-PORTER/spring-data-solr.git'
url = 'https://github.com/NET-A-PORTER/spring-data-solr'
}
}
}
}
}
nexusPublishing {
repositories {
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
}
}
}
signing {
def signingKey = findProperty("signingKey")
def signingPassword = findProperty("signingPassword")
useInMemoryPgpKeys(signingKey, signingPassword)
sign publishing.publications.mavenJava
}