-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
57 lines (50 loc) · 1.44 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
subprojects {
group "net.playeranalytics"
version "5.3.0"
apply(plugin: "java-library")
apply(plugin: "maven-publish")
tasks.withType(JavaCompile).configureEach {
options.release = 11
options.encoding = "UTF-8"
}
ext {
paperVersion = '1.16.4-R0.1-SNAPSHOT'
spongeVersion = '8.0.0-SNAPSHOT'
nukkitVersion = '1.0-SNAPSHOT'
bungeecordVersion = '1.16-R0.4'
velocityVersion = '3.0.0-SNAPSHOT'
foliaVersion = '1.20.1-R0.1-SNAPSHOT'
jsonSimpleVersion = '1.1.1'
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}
test {
useJUnitPlatform()
testLogging {
events 'passed', 'failed', 'skipped'
exceptionFormat 'full'
}
}
publishing {
repositories {
maven {
name = "plan-repo"
url = uri("https://repo.playeranalytics.net/releases")
credentials {
username = "user"
password = System.getenv("REPOSILITE_TOKEN")
}
}
}
publications {
maven(MavenPublication) {
from components.java
afterEvaluate {
artifactId = rootProject.name + "-" + it.name
}
}
}
}
}