-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
41 lines (35 loc) · 1.35 KB
/
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
import xyz.srnyx.gradlegalaxy.data.pom.DeveloperData
import xyz.srnyx.gradlegalaxy.data.pom.LicenseData
import xyz.srnyx.gradlegalaxy.enums.Repository
import xyz.srnyx.gradlegalaxy.enums.repository
import xyz.srnyx.gradlegalaxy.utility.setupJda
import xyz.srnyx.gradlegalaxy.utility.setupPublishing
plugins {
application
id("xyz.srnyx.gradle-galaxy") version "1.3.2"
id("com.gradleup.shadow") version "8.3.3"
}
setupJda("5.1.2", "xyz.srnyx", "3.2.0", "A simple library for JDA Discord bots", JavaVersion.VERSION_21)
repository(Repository.JITPACK)
dependencies {
implementation("xyz.srnyx", "java-utilities", "2.0.0") // General Java utility library
implementation("io.github.freya022", "BotCommands", "2.10.4") // Command framework
implementation("org.spongepowered", "configurate-yaml", "4.1.2") // Config manager
implementation("org.postgresql", "postgresql", "42.7.4") // Database
implementation("com.zaxxer", "HikariCP", "6.0.0") // Database
implementation("ch.qos.logback", "logback-classic", "1.5.8") // Logging
}
setupPublishing(
artifactId = "lazy-library",
url = "https://lazy-library.srnyx.com",
licenses = listOf(LicenseData.MIT),
developers = listOf(DeveloperData.srnyx))
// Fix some tasks
tasks {
startScripts {
dependsOn("shadowJar")
}
startShadowScripts {
dependsOn("jar")
}
}