HappyBird/Happy_Bird/build.gradle

45 lines
816 B
Groovy
Raw Permalink Normal View History

2021-11-15 11:56:01 +01:00
plugins {
id 'java'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.10'
}
group 'com.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
2022-01-10 14:10:25 +01:00
jcenter()
2021-11-15 11:56:01 +01:00
}
ext {
junitVersion = '5.7.1'
}
sourceCompatibility = '15'
targetCompatibility = '15'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
application {
mainModule = 'com.example.happy_bird'
mainClass = 'com.example.happy_bird.HelloApplication'
}
javafx {
version = '15.0.1'
modules = ['javafx.controls', 'javafx.fxml']
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
2022-01-10 14:10:25 +01:00
implementation 'org.mariadb.jdbc:mariadb-java-client:2.1.2'
2021-11-15 11:56:01 +01:00
}
test {
useJUnitPlatform()
}