-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
87 lines (67 loc) · 2.32 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
// json-filter
plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
id 'eclipse'
id 'idea'
// keep dependencies up-to-date!
id 'com.github.ben-manes.versions' version '0.46.0'
// useful for creating immutable java beans
id 'org.inferred.processors' version '3.7.0'
// to ensure clean code
id "net.ltgt.errorprone" version "3.1.0"
// for deployment to Maven Central
id "io.codearte.nexus-staging" version "0.30.0"
}
group = 'com.arakelian'
version = '4.0.1'
apply from: "core.gradle"
wrapper {
gradleVersion = '8.1.1'
}
publishing.publications.mavenJava {
pom {
name = "Json Filter"
description = "High-speed stream-based filtering of arbitrarily large JSON documents."
url = "https://github.com/arakelian/json-filter"
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id = 'arakelian'
name = 'Greg Arakelian'
email = '[email protected]'
}
}
scm {
connection = 'scm:git:https://github.com/arakelian/json-filter.git'
developerConnection = 'scm:git:[email protected]:arakelian/json-filter.git'
url = 'https://github.com/arakelian/json-filter.git'
}
}
}
dependencies {
processor 'org.immutables:value:2.9.3'
// annotations
api 'org.immutables:value-annotations:2.9.3'
// for date utils
api 'com.arakelian:more-commons:4.0.1'
// configure errorprone version
errorprone 'com.google.errorprone:error_prone_core:2.18.0'
// we shadow Guava due to frequent downstream compatibility issues
api 'com.google.guava:guava:31.1-jre'
// logging
testImplementation 'org.apache.logging.log4j:log4j-api:2.20.0'
testImplementation 'org.apache.logging.log4j:log4j-core:2.20.0'
testImplementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.20.0'
testImplementation 'org.slf4j:jcl-over-slf4j:2.0.7'
testImplementation 'org.slf4j:jul-to-slf4j:2.0.7'
api 'org.slf4j:slf4j-api:2.0.7'
// for unit testing
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2'
}