-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
42 lines (32 loc) · 1.04 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
plugins {
id "com.diffplug.spotless" version "6.25.0"
}
spotless {
format 'misc', {
target '**/*.gradle', '**/*.md', '**/.gitignore'
trimTrailingWhitespace()
indentWithSpaces(2) // or spaces. Takes an integer argument if you don't like 4
endWithNewline()
}
// java {
// googleJavaFormat()
// }
}
subprojects {
ext {
jamesVersion = '3.8.1'
}
repositories {
// First look for local Apache James dependencies. We can publish code changes locally and work with them
// See caveats https://docs.gradle.org/current/userguide/declaring_repositories.html#sec:case-for-maven-local
// Maybe avoid mavenLocal and use a directory with jars.
mavenLocal()
// Next look into snapshots and staging
// https://infra.apache.org/repository-faq.html
maven { url "https://repository.apache.org/content/groups/public/" }
maven { url "https://repository.apache.org/content/groups/staging/" }
maven { url "https://repository.apache.org/content/groups/snapshots/" }
mavenCentral()
jcenter()
}
}