-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
66 lines (56 loc) · 1.42 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
@file:Suppress("SpellCheckingInspection")
group = "cl.uchile.dcc.scrabble"
version = "0.1-ALPHA.1"
val javaFXVersion: String by project
val jbAnnotationsVersion: String by project
val junitVersion: String by project
val commonsLangVersion: String by project
plugins {
java
id("application")
id("org.openjfx.javafxplugin") version "0.0.8"
id("jacoco")
}
application {
mainClass.set("cl.uchile.dcc.scrabble.gui.Scrabble")
}
repositories {
mavenCentral()
}
dependencies {
implementation(
group = "org.openjfx",
name = "javafx",
version = javaFXVersion,
ext = "pom"
)
implementation(
group = "org.jetbrains",
name = "annotations",
version = jbAnnotationsVersion
)
testImplementation(
group = "org.junit.jupiter", name = "junit-jupiter-api",
version = junitVersion
)
testRuntimeOnly(
group = "org.junit.jupiter", name = "junit-jupiter-engine",
version = junitVersion
)
testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.8.0-M1")
implementation(
group = "org.apache.commons",
name = "commons-lang3",
version = commonsLangVersion
)
}
javafx {
version = javaFXVersion
modules = mutableListOf("javafx.controls")
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_11
}
tasks.named<Test>("test") {
useJUnitPlatform()
}