Skip to content
Snippets Groups Projects
build.gradle 658 B
Newer Older
  • Learn to ignore specific revisions
  • couetoux.b's avatar
    couetoux.b committed
    
    plugins {
        id 'application'
    
        id "org.openjfx.javafxplugin" version "0.0.14"
    
    couetoux.b's avatar
    couetoux.b committed
    }
    
    javafx {
    
        version = "20"
    
    couetoux.b's avatar
    couetoux.b committed
        modules = [ 'javafx.controls', 'javafx.fxml' ]
    }
    
    
    repositories {
        mavenCentral()
    }
    
    couetoux.b's avatar
    couetoux.b committed
    dependencies {
    
        testRuntimeOnly("org.junit.platform:junit-platform-launcher") {
            because("Only needed to run tests in a version of IntelliJ IDEA that bundles older versions")
        }
        testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
        testImplementation("org.assertj:assertj-core:3.24.2")
        testImplementation("org.junit.jupiter:junit-jupiter:5.10.0")
    
    couetoux.b's avatar
    couetoux.b committed
    }
    
    test {
        useJUnitPlatform()
    }
    
    
    application {
        mainClass.set("App")
    }