build.gradle 731 Bytes
Newer Older
Yuhan Chen's avatar
Yuhan Chen committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Gradle build file
// CSCI 205 - Software Engineering and Design
// Bucknell University
// Original Author - B. King

plugins{
    id 'application'
    id 'java'
    id 'idea'
    id 'org.openjfx.javafxplugin' version '0.0.8'
}
group 'org.baba' // Replace abc with your initials
version '0.1-SNAPSHOT'
repositories {
    mavenCentral()
}
test {
    useJUnitPlatform()
}
// Needs to be either 11.0.2 or 14.0.2
javafx {
    version = "14.0.2"
23
    modules = [ 'javafx.controls', 'javafx.fxml', 'javafx.media' ]
Yuhan Chen's avatar
Yuhan Chen committed
24
25
}
dependencies {
26
    implementation 'org.junit.jupiter:junit-jupiter:5.6.2'
Yuhan Chen's avatar
Yuhan Chen committed
27
28
29
}
application {
    mainClassName = project.hasProperty("mainClass") ? project.getProperty("mainClass") :
Anh Tran's avatar
Anh Tran committed
30
            "gameManager.GameManager"
Yuhan Chen's avatar
Yuhan Chen committed
31
}