43 lines
1 KiB
Groovy
43 lines
1 KiB
Groovy
/*
|
|
* This file was generated by the Gradle 'init' task.
|
|
*
|
|
* This generated file contains a sample Java Library project to get you started.
|
|
* For more details take a look at the Java Libraries chapter in the Gradle
|
|
* User Manual available at https://docs.gradle.org/5.4/userguide/java_library_plugin.html
|
|
*/
|
|
|
|
plugins {
|
|
id 'java'
|
|
id 'eclipse'
|
|
id 'application'
|
|
id 'org.openjfx.javafxplugin' version '0.0.8'
|
|
}
|
|
|
|
javafx {
|
|
version = "11.0.2"
|
|
modules = [ 'javafx.controls', 'javafx.base', 'javafx.fxml', 'javafx.graphics' ]
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
//sourceCompatibility = 11
|
|
//targetCompatibility = 21
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation group: 'mysql', name: 'mysql-connector-java', version: '8.0.19'
|
|
implementation group: 'org.postgresql', name: 'postgresql', version: '42.2.9'
|
|
implementation group: 'org.xerial', name: 'sqlite-jdbc', version: '3.30.1'
|
|
|
|
// Use JUnit test framework
|
|
testImplementation 'junit:junit:4.12'
|
|
}
|
|
|
|
mainClassName = 'gui.App'
|