-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
93 lines (72 loc) · 2.65 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
// faker
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 = "Faker"
description = "Faker is library for generating high-quality fake data, such as names, addresses and phone numbers."
url = "https://github.com/arakelian/faker"
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 = 'greg@arakelian.com'
}
}
scm {
connection = 'scm:git:https://github.com/arakelian/faker.git'
developerConnection = 'scm:git:git@github.com:arakelian/faker.git'
url = 'https://github.com/arakelian/faker.git'
}
}
}
dependencies {
processor 'org.immutables:value:2.9.3'
// annotations
api 'org.immutables:value-annotations:2.9.3'
// configure errorprone version
errorprone 'com.google.errorprone:error_prone_core:2.18.0'
api 'com.arakelian:more-commons:4.0.1'
api 'com.arakelian:jackson-utils:4.0.1'
// shadow Guava due to frequent downstream incompatibility issues
api 'com.google.guava:guava:31.1-jre'
// shadow stuff we use very little of, to reduce dependencies
api 'org.apache.commons:commons-lang3:3.12.0'
// 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.9.2'
testImplementation 'net.javacrumbs.json-unit:json-unit:2.37.0'
testImplementation 'com.arakelian:more-commons:4.0.1:tests'
testImplementation 'com.arakelian:jackson-utils:4.0.1:tests'
}