forked from ucchyocean/LunaChat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
98 lines (89 loc) · 2.95 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
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java'
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
repositories {
mavenCentral()
mavenLocal()
maven {
url = 'https://jitpack.io/'
}
maven {
url = 'https://repo.mikeprimm.com/'
}
maven {
url = 'https://repo.onarandombox.com/content/repositories/multiverse/'
}
maven {
url = 'https://repo.codemc.org/repository/maven-public/'
}
maven {
url = 'https://repo.wea-ondara.net/repository/public/'
}
maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
maven {
url = 'https://oss.sonatype.org/content/repositories/snapshots/'
}
maven {
url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
}
maven {
url = 'https://repo.maven.apache.org/maven2/'
}
maven {
url = 'https://maven.enginehub.org/repo/'
}
}
dependencies {
implementation 'org.bstats:bstats-bukkit:3.0.0'
implementation 'org.bstats:bstats-bungeecord:3.0.0'
implementation 'com.google.code.gson:gson:2.10'
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'org.jetbrains:annotations:23.0.0'
testImplementation 'junit:junit:4.13.2'
compileOnly 'org.spigotmc:spigot-api:1.16.2-R0.1-SNAPSHOT'
compileOnly 'net.md-5:bungeecord-api:1.16-R0.2-SNAPSHOT'
compileOnly 'net.md-5:bungeecord-chat:1.16-R0.3'
compileOnly 'com.github.MilkBowl:VaultAPI:1.7'
compileOnly 'org.dynmap:dynmap-api:2.0'
compileOnly 'com.onarandombox.multiversecore:Multiverse-Core:4.1.0'
compileOnly 'com.gmail.nossr50.mcMMO:mcMMO:2.1.154'
compileOnly 'net.alpenblock:BungeePerms:4.0-dev-114'
compileOnly 'net.luckperms:api:5.4'
compileOnly 'me.clip:placeholderapi:2.11.2'
}
group = 'com.github.ucchyocean'
version = '3.1.7'
description = 'A powerfull chat channel plugin with IME (Kana-Kanji conversion) support'
java.sourceCompatibility = JavaVersion.VERSION_1_8
shadowJar {
archiveFileName.set(project.name + "." + archiveExtension.get())
relocate 'com.google.gson', 'com.github.ucchyocean.lc.lib.com.google.gson'
relocate 'org.apache.commons.lang3', 'com.github.ucchyocean.lc.lib.org.apache.commons.lang3'
relocate 'org.jetbrains', 'com.github.ucchyocean.lc.lib.org.jetbrains'
relocate 'org.bstats', 'com.github.ucchyocean.lc.lib.org.bstats'
}
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
processResources {
def props = [name: project.name, version: project.version, description: project.description]
inputs.properties props
filteringCharset 'UTF-8'
filesMatching('plugin.yml') {
expand props
}
}