2019-02-23 10:49:00 -08:00
|
|
|
plugins {
|
2019-04-04 13:14:51 -07:00
|
|
|
id 'java'
|
|
|
|
id 'application'
|
2023-09-05 10:54:58 -07:00
|
|
|
id 'org.openjfx.javafxplugin' version '0.1.0'
|
2019-02-23 10:49:00 -08:00
|
|
|
}
|
|
|
|
|
2018-03-06 21:13:17 +01:00
|
|
|
dependencies {
|
2019-03-07 17:31:54 +01:00
|
|
|
implementation project(':bitcoinj-core')
|
2018-03-06 21:13:17 +01:00
|
|
|
implementation 'de.jensd:fontawesomefx:8.0.0'
|
2022-11-14 08:11:34 +01:00
|
|
|
implementation 'com.google.zxing:core:3.5.1'
|
2023-10-15 10:16:24 -07:00
|
|
|
implementation 'org.slf4j:slf4j-jdk14:2.0.9'
|
2023-11-17 18:37:47 -08:00
|
|
|
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
|
2023-10-01 15:51:32 +02:00
|
|
|
|
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:5.10.0"
|
|
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.10.0"
|
2018-03-06 21:13:17 +01:00
|
|
|
}
|
|
|
|
|
2019-02-23 10:49:00 -08:00
|
|
|
javafx {
|
2023-10-18 16:05:23 -07:00
|
|
|
version = '21.0.1'
|
2019-02-23 10:49:00 -08:00
|
|
|
modules = [ 'javafx.controls', 'javafx.fxml' ]
|
|
|
|
}
|
|
|
|
|
2023-09-06 13:30:57 -07:00
|
|
|
sourceCompatibility = 17
|
2018-10-31 11:12:49 +01:00
|
|
|
compileJava.options.encoding = 'UTF-8'
|
|
|
|
compileTestJava.options.encoding = 'UTF-8'
|
2019-07-26 17:11:08 +02:00
|
|
|
javadoc.options.encoding = 'UTF-8'
|
2018-03-06 21:13:17 +01:00
|
|
|
|
2021-09-08 12:46:47 -07:00
|
|
|
compileJava {
|
2023-09-06 13:30:57 -07:00
|
|
|
options.compilerArgs.addAll(['--release', '17'])
|
2022-04-18 10:42:38 -07:00
|
|
|
options.compilerArgs << '-Xlint:deprecation'
|
2021-09-08 12:46:47 -07:00
|
|
|
}
|
|
|
|
|
2019-02-23 10:49:00 -08:00
|
|
|
mainClassName = 'wallettemplate.Main'
|
2023-10-01 15:51:32 +02:00
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|