-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
67 lines (58 loc) · 1.55 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
plugins {
alias(libs.plugins.indra) apply false
alias(libs.plugins.indra.checkstyle) apply false
alias(libs.plugins.indra.licenser.spotless) apply false
alias(libs.plugins.indra.sonatype)
alias(libs.plugins.nexusPublish)
}
group 'net.kyori'
version '1.3.1-SNAPSHOT'
description "A library for examining objects and producing an output - a friendly way to create a toString result."
indraSonatype {
useAlternateSonatypeOSSHost("s01")
}
subprojects {
apply plugin: "net.kyori.indra"
apply plugin: "net.kyori.indra.checkstyle"
apply plugin: "net.kyori.indra.licenser.spotless"
apply plugin: "net.kyori.indra.publishing"
indra {
javaVersions {
testWith(8, 11, 17)
}
checkstyle(libs.versions.checkstyle.get())
github("KyoriPowered", "examination") {
ci(true)
}
mitLicense()
configurePublications {
pom {
developers {
developer {
id = "kashike"
timezone = "America/Vancouver"
}
}
}
}
}
dependencies {
checkstyle(libs.stylecheck)
annotationProcessor(libs.contractValidator)
testImplementation(libs.truth)
testImplementation(libs.truth.java8)
testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.api)
testImplementation(libs.junit.engine)
testRuntimeOnly(libs.junit.launcher)
}
spotless {
ratchetFrom 'origin/main'
java {
endWithNewline()
indentWithSpaces 2
importOrderFile rootProject.file('.spotless/kyori.importorder')
trimTrailingWhitespace()
}
}
}