generated from lavalink-devs/lavalink-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
47 lines (41 loc) · 896 Bytes
/
build.gradle.kts
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
plugins {
java
`maven-publish`
alias(libs.plugins.lavalink)
}
group = "com.dunctebot"
version = "0.1.0"
lavalinkPlugin {
name = "track-uuid"
path = "$group.track-uuid"
apiVersion = libs.versions.lavalink.api
serverVersion = libs.versions.lavalink.server
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
tasks {
compileJava {
options.encoding = "UTF-8"
}
}
dependencies {
// add your dependencies here
}
publishing {
repositories {
maven {
name = "lavalink"
url = uri("https://maven.lavalink.dev/releases")
credentials {
username = System.getenv("USERNAME")
password = System.getenv("PASSWORD")
}
authentication {
create<BasicAuthentication>("basic")
}
}
}
}