forked from KyoriPowered/adventure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
99 lines (82 loc) · 2.37 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
buildscript {
ext {
indraVersion = "1.3.1"
}
}
plugins {
id "net.kyori.indra" version "$indraVersion" apply false
id "net.kyori.indra.checkstyle" version "$indraVersion" apply false
id "net.kyori.indra.license-header" version "$indraVersion" apply false
id "net.kyori.indra.publishing.sonatype" version "$indraVersion" apply false
id "com.adarshr.test-logger" version "2.1.1" apply false
}
group "net.kyori"
version "4.6.0"
description "A user-interface library for Minecraft: Java Edition."
subprojects {
// The bom is special... this is a bit ugly, but not much more we can do without making our own script plugin
if(name != "adventure-bom") {
apply plugin: "net.kyori.indra"
apply plugin: "net.kyori.indra.checkstyle"
apply plugin: "net.kyori.indra.license-header"
apply plugin: "com.adarshr.test-logger"
testlogger {
theme("mocha-parallel")
showPassed(false)
}
configurations.testCompileClasspath {
exclude group: "junit" // brought in by google's libs
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
api(platform(project(":adventure-bom")))
checkstyle("ca.stellardrift:stylecheck:0.1")
testImplementation("com.google.guava:guava-testlib:30.1-jre")
testImplementation("com.google.truth:truth:1.1.2")
testImplementation("com.google.truth.extensions:truth-java8-extension:1.1.2")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.7.1")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.7.1")
}
javadoc {
options.tags(["sinceMinecraft:a:Since Minecraft:"])
}
}
// All projects
apply plugin: "net.kyori.indra.publishing.sonatype"
indra {
javaVersions {
testWith(8, 11, 15)
}
github("KyoriPowered", "adventure") {
ci = true
}
mitLicense()
configurePublications {
pom {
developers {
developer {
id = "kashike"
timezone = "America/Vancouver"
}
developer {
id = "lucko"
name = "Luck"
url = "https://lucko.me"
email = "[email protected]"
}
developer {
id = "zml"
name = "zml"
timezone = "America/Vancouver"
}
developer {
id = "Electroid"
}
}
}
}
}
}