-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
45 lines (39 loc) · 1.08 KB
/
build.gradle.kts
File metadata and controls
45 lines (39 loc) · 1.08 KB
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-library")
id("org.openjfx.javafxplugin") version "0.1.0"
}
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
tasks.jar {
archiveFileName.set(project.name+".jar")
manifest {
attributes(
"Module-Main-Class" to "pro.gravit.launcher.gui.JavaRuntimeModule",
"Module-Config-Class" to "pro.gravit.launcher.gui.core.config.GuiModuleConfig",
"Module-Config-Name" to "JavaRuntime"
)
}
}
javafx {
version = "22"
modules("javafx.fxml", "javafx.controls", "javafx.web")
}
repositories {
mavenCentral()
mavenLocal()
maven {
url = uri("https://maven.gravitlauncher.com")
}
}
dependencies {
compileOnly("org.slf4j:slf4j-api:2.0.9")
implementation("com.gravitlauncher.launcher:launcher-runtime:5.7.10")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
}
tasks.test {
useJUnitPlatform()
}