-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
79 lines (65 loc) · 2.13 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
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
import org.springframework.boot.gradle.tasks.bundling.BootJar
/*
* Copyright © 2025 Tom BUTIN (RedsTom)
*
* This file is part of TidalCord.
*
* TidalCord is free software: you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.
*
* TidalCord is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
* A PARTICULAR PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <https://www.gnu.org/licenses/>.
*
* The full license text can be found in the file `/LICENSE.md` at the root of
* this project.
*/
plugins {
java
id("com.diffplug.spotless") version "7.0.0.BETA2"
id("org.springframework.boot") version "3.4.1"
id("io.spring.dependency-management") version "1.1.7"
}
group = "fr.redstom"
version = "1.0-SNAPSHOT"
java {
toolchain {
languageVersion = JavaLanguageVersion.of(23)
}
}
configurations {
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
}
}
repositories {
mavenCentral()
maven("https://maven.scijava.org/content/repositories/public/")
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter")
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("com.github.JnCrMx:discord-game-sdk4j:fa5c7e2c16")
implementation("net.java.dev.jna:jna-platform:5.16.0")
implementation("com.konghq:unirest-java-core:4.4.5")
implementation("com.konghq:unirest-objectmapper-jackson:4.2.9")
compileOnly("org.projectlombok:lombok")
annotationProcessor("org.projectlombok:lombok")
}
spotless {
java {
googleJavaFormat()
.reorderImports(true)
.formatJavadoc(true)
.reflowLongStrings()
.aosp()
}
}
tasks.withType<BootJar> {
archiveFileName.set("TidalCord.jar")
}