mirror of
https://github.com/SPAWNRYS-ban/FUCK-CustomDiscs.git
synced 2025-12-10 05:19:43 +05:00
Initial commit
This commit is contained in:
42
build.gradle
Normal file
42
build.gradle
Normal file
@@ -0,0 +1,42 @@
|
||||
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()
|
||||
}
|
||||
Reference in New Issue
Block a user