plugins {
    id 'org.lflang.java-application-conventions'
}

dependencies {
    implementation project(':cli:base')
    implementation("de.cau.cs.kieler.klighd:de.cau.cs.kieler.klighd.setup:$klighdVersion") {
        exclude group: 'de.cau.cs.kieler.swt.mock'
    }
    implementation("de.cau.cs.kieler.klighd:de.cau.cs.kieler.klighd.piccolo:${klighdVersion}") {
        exclude group: 'de.cau.cs.kieler.swt.mock'
    }
    implementation("de.cau.cs.kieler.klighd:de.cau.cs.kieler.klighd.piccolo.freehep:${klighdVersion}") {
        exclude group: 'de.cau.cs.kieler.swt.mock'
    }
    implementation("org.freehep:freehep-graphicsio-svg:${freehepVersion}")

    testImplementation(testFixtures(project(':core')))
    testImplementation(testFixtures(project(':cli:base')))
}

application {
    mainClass = 'org.lflang.cli.Lfd'
    tasks.run.workingDir = System.getProperty("user.dir")
}
