-
Notifications
You must be signed in to change notification settings - Fork 13
/
build.gradle
59 lines (51 loc) · 1.92 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
plugins {
id 'com.github.johnrengelman.shadow' version '6.1.0'
id 'java'
}
sourceCompatibility = JavaLanguageVersion.of(java_version as int)
targetCompatibility = JavaLanguageVersion.of(java_version as int)
archivesBaseName = archives_base_name
version = plugin_version
group = maven_group
processResources {
filesMatching("plugin.yml") {
expand "version": plugin_version,
"bukkit_api_version": bukkit_api_version
}
}
dependencies {
implementation 'com.github.mizosoft.methanol:methanol:1.7.0'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
implementation 'org.apache.httpcomponents:httpasyncclient:4.1.5'
implementation 'commons-io:commons-io:2.15.1'
// To use this dependency, you need to compile bukkit by yourself
// See https://www.spigotmc.org/wiki/buildtools/
// implementation "org.bukkit:craftbukkit:${bukkit_version}"
// Use this dependency if you don't want to compile bukkit
implementation "io.papermc.paper:paper-api:${bukkit_version}"
implementation "de.maxhenkel.voicechat:voicechat-api:${voicechat_api_version}"
implementation 'com.google.code.gson:gson:2.10.1'
implementation group: 'com.knuddels', name: 'jtokkit', version: '1.0.0'
}
repositories {
mavenCentral()
maven {
name = "henkelmax.public"
url = 'https://maven.maxhenkel.de/repository/public'
}
// You need this maven repository if you want to use the paper dependency
maven {
url = uri("https://papermc.io/repo/repository/maven-public/")
}
mavenLocal()
}
shadowJar {
dependencies {
include(dependency('org.apache.commons:.*'))
include(dependency('com.google.code.gson:.*'))
include(dependency('com.github.mizosoft.methanol:.*'))
include(dependency('com.knuddels:.*'))
include(dependency('org.apache.httpcomponents:.*'))
}
}