-
Notifications
You must be signed in to change notification settings - Fork 27
/
build.gradle.kts
45 lines (39 loc) · 1.16 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
plugins {
id("java")
}
java.sourceCompatibility = JavaVersion.VERSION_17
java.targetCompatibility = JavaVersion.VERSION_17
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
group = "ru.vidtu.ias"
base.archivesName = "IAS-Root"
repositories {
mavenCentral()
}
dependencies {
// Annotations
compileOnly(libs.jetbrains.annotations)
compileOnly(libs.error.prone.annotations)
// Bundled with MC
implementation("com.google.code.gson:gson:2.11.0")
implementation("org.slf4j:slf4j-api:2.0.13")
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
options.compilerArgs.addAll(listOf("-g", "-parameters"))
options.release = 17
}
tasks.withType<Jar> {
from(rootDir.resolve("LICENSE"))
from(rootDir.resolve("GPL"))
from(rootDir.resolve("NOTICE"))
manifest {
attributes(
"Specification-Title" to "In-Game Account Switcher",
"Specification-Version" to project.version,
"Specification-Vendor" to "VidTu",
"Implementation-Title" to "IAS-Root",
"Implementation-Version" to project.version,
"Implementation-Vendor" to "VidTu"
)
}
}