generated from lavalink-devs/lavalink-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (37 loc) · 928 Bytes
/
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
plugins {
id "java"
id "application"
id "maven-publish"
id "com.github.johnrengelman.shadow" version "7.1.0"
}
group "org.example"
version "0.1.0"
mainClassName = "org.springframework.boot.loader.JarLauncher"
sourceCompatibility = 11
compileJava.options.encoding = "UTF-8"
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
// Transitive dependencies
maven { url "https://m2.dv8tion.net/releases" }
jcenter()
}
dependencies {
compileOnly "dev.arbjerg.lavalink:plugin-api:0.7.0"
runtimeOnly "com.github.freyacodes.lavalink:Lavalink-Server:feature~plugins"
}
shadowJar {
def impl = project.configurations.implementation
impl.canBeResolved(true)
configurations = [impl]
archiveClassifier.set("")
}
publishing {
publications {
maven(MavenPublication) {
pom {
from components.java
}
}
}
}