generated from dcc-cc3002/final-reality
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
41 lines (33 loc) · 953 Bytes
/
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
@file:Suppress("SpellCheckingInspection")
plugins {
java
id("application")
id("org.openjfx.javafxplugin") version "0.0.8"
id("jacoco")
}
application {
mainClassName = "$moduleName/com.github.cc3002.finalreality.gui.FinalReality"
}
group = "com.github.cc3002"
version = "1.0-RELEASE"
repositories {
mavenCentral()
}
dependencies {
implementation(group = "org.openjfx", name = "javafx", version = "14-ea+6", ext = "pom")
implementation("org.jetbrains:annotations:19.0.0")
testImplementation(group = "org.junit.jupiter", name = "junit-jupiter-api",
version = "5.1.0")
testRuntimeOnly(group = "org.junit.jupiter", name = "junit-jupiter-engine",
version = "5.1.0")
}
javafx {
version = "14-ea+6"
modules = mutableListOf("javafx.controls")
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_11
}
tasks.named<Test>("test") {
useJUnitPlatform()
}