-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
40 lines (35 loc) · 1.18 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
plugins {
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.google.code.findbugs:jsr305:3.0.2'
// 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}"
}
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()
}