-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
111 lines (97 loc) · 2.77 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/*
* Copyright (c) 2025 Owen Bennett.
* You may use, distribute and modify this code under the terms of the MIT licence.
* You should have obtained a copy of the MIT licence with this software,
* if not please obtain one from https://opensource.org/licences/MIT
*
*
*
*/
/*
* This file was generated by the Gradle 'init' task.
*
* This project uses @Incubating APIs which are subject to change.
*/
plugins {
id 'java-library'
id 'maven-publish'
id "com.gorylenko.gradle-git-properties" version "2.4.2"
id 'com.github.ben-manes.versions' version '0.52.0'
}
repositories {
mavenLocal()
maven {
url = uri('https://m2.dv8tion.net/releases')
}
maven {
url = uri('https://jitpack.io')
}
maven {
url = "https://maven.lavalink.dev/releases"
}
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
maven{
url = uri('https://maven.lavalink.dev/snapshots')
}
}
sourceSets{
main {
java {
srcDirs("src")
}
resources{
srcDirs("logging")
}
}
}
dependencies {
api 'commons-io:commons-io:2.18.0'
api 'com.google.apis:google-api-services-youtube:v3-rev20250128-2.0.0'
api 'com.google.api-client:google-api-client:2.7.2'
api 'com.google.http-client:google-http-client:1.45.3'
api 'org.mariadb.jdbc:mariadb-java-client:3.5.1'
api 'org.slf4j:slf4j-api:2.1.0-alpha1'
api 'ch.qos.logback:logback-classic:1.5.16'
api 'ch.qos.logback:logback-core:1.5.16'
implementation 'com.github.discord-jda:JDA:legacy~v4-SNAPSHOT'
api 'org.knowm:yank:3.5.0'
api 'org.json:json:20250107'
api 'com.google.code.gson:gson:2.10.1'
api 'com.fasterxml.jackson.core:jackson-core:2.18.2'
api 'com.fasterxml.jackson.core:jackson-annotations:2.18.2'
api 'com.fasterxml.jackson.core:jackson-databind:2.18.2'
api 'dev.arbjerg:lavaplayer:2.2.3'
api 'com.google.http-client:google-http-client-jackson2:1.45.3'
api 'org.threeten:threetenbp:1.7.0'
implementation 'dev.lavalink.youtube:v2:1.11.4'
}
jar {
manifest {
attributes (
'Main-Class': 'org.frostbite.karren.Karren',
'Class-Path': configurations.runtimeClasspath.files.collect{ "lib/" + it.getName() }.join(' ')
)
}
destinationDirectory = file("${buildDir}")
}
group = 'org.frostbite'
version = '5.3.0'
description = 'Karren-sama'
java.sourceCompatibility = JavaVersion.VERSION_11
gitProperties {
gitPropertiesName = "git.properties"
}
task copyAllDependencies(type: Copy) {
from configurations.runtimeClasspath
into "${buildDir}/lib"
}
build.dependsOn(copyAllDependencies)
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}