forked from lucko/gChat
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
91 lines (75 loc) · 2.33 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
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'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
group = 'uk.co.n3fs.mc'
version = '3.0.0-SNAPSHOT'
description = 'A simple global chat plugin for Velocity.'
repositories {
mavenCentral()
maven {
url 'https://ci.lucko.me/plugin/repository/everything/'
}
maven {
url 'https://repo.velocitypowered.com/snapshots/'
}
maven {
url 'https://repo.essentialsx.net/n3fs/'
}
}
dependencies {
compileOnly 'com.velocitypowered:velocity-api:3.0.0'
annotationProcessor 'com.velocitypowered:velocity-api:3.0.0'
compileOnly 'net.luckperms:api:5.2'
compileOnly 'uk.co.n3fs.mc:Neutron-N3FS:5.0.0-SNAPSHOT'
implementation 'me.lucko.luckperms:placeholders-common:5.1-SNAPSHOT'
implementation 'net.kyori:adventure-serializer-configurate3:4.3.0'
}
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('A simple global chat plugin for Velocity.')
url.set('https://n3fs.co.uk')
developers {
developer {
id.set('mdcfe')
name.set('MD')
email.set('[email protected]')
}
developer {
id.set('lucko')
name.set('Luck')
}
}
}
}
javaVersions {
target(11)
minimumToolchain(16)
}
}
blossom {
replaceToken '@ID@', name.toLowerCase()
replaceToken '@NAME@', name
replaceToken '@VERSION@', version
replaceToken '@DESCRIPTION@', description
}
shadowJar {
dependencies {
include(dependency('me.lucko.luckperms:placeholders-common'))
include(dependency('net.kyori:adventure-serializer-configurate3'))
}
relocate 'me.lucko.luckperms.placeholders', 'uk.co.n3fs.gchat.libs.luckperms.placeholders'
relocate 'net.kyori.adventure.serializer.configurate3', 'uk.co.n3fs.gchat.libs.adventure.configurate3'
}
build.dependsOn shadowJar