forked from N3FS/Neutron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
71 lines (60 loc) · 1.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
plugins {
id 'java-library'
id 'maven-publish'
id 'net.kyori.indra' version '2.0.6'
id 'net.kyori.indra.publishing' version '2.0.6'
id 'net.kyori.blossom' version '1.3.0'
}
group 'uk.co.n3fs.mc'
version '5.0.0-SNAPSHOT'
description 'An open-source essential suite for the Velocity proxy'
repositories {
mavenCentral()
maven {
url 'https://repo.papermc.io/snapshots/'
}
maven {
url = 'https://repo.spongepowered.org/maven/'
}
maven {
url = 'https://repo.essentialsx.net/n3fs/'
}
}
dependencies {
compileOnly 'com.velocitypowered:velocity-api:3.0.0-SNAPSHOT'
annotationProcessor 'com.velocitypowered:velocity-api:3.0.0-SNAPSHOT'
}
indra {
github("N3FS", "Neutron") {
ci(true)
}
mitLicense()
publishReleasesTo("n3fs", "https://repo.essentialsx.net/n3fs/")
publishSnapshotsTo("n3fs", "https://repo.essentialsx.net/n3fs/")
configurePublications {
pom {
description.set("An open-source essential suite for the Velocity proxy")
url.set("https://n3fs.co.uk")
developers {
developer {
id.set("mdcfe")
name.set("MD")
email.set("[email protected]")
}
developer {
id.set("Crypnotic")
}
}
}
}
javaVersions {
target(11)
minimumToolchain(16)
}
}
blossom {
replaceToken '@ID@', name.toLowerCase()
replaceToken '@NAME@', name
replaceToken '@VERSION@', version
replaceToken '@DESCRIPTION@', description
}