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'
|
2025-01-30 02:15:33 -08:00
|
|
|
id 'org.beryx.jlink' version '3.1.1'
|
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')
|
2024-08-03 09:56:05 +02:00
|
|
|
implementation 'com.google.zxing:core:3.5.3'
|
2025-01-29 15:05:01 -08:00
|
|
|
implementation 'org.slf4j:slf4j-api:2.0.16'
|
2024-08-03 09:59:17 +02:00
|
|
|
implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0'
|
2023-10-01 15:51:32 +02:00
|
|
|
|
2025-01-29 15:05:01 -08:00
|
|
|
runtimeOnly 'org.slf4j:slf4j-jdk14:2.0.16'
|
|
|
|
|
2025-01-19 21:03:28 +01:00
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:5.11.4"
|
|
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.11.4"
|
2018-03-06 21:13:17 +01:00
|
|
|
}
|
|
|
|
|
2019-02-23 10:49:00 -08:00
|
|
|
javafx {
|
2024-08-03 10:06:15 +02:00
|
|
|
version = '21.0.4'
|
2019-02-23 10:49:00 -08:00
|
|
|
modules = [ 'javafx.controls', 'javafx.fxml' ]
|
|
|
|
}
|
|
|
|
|
2024-08-29 22:56:59 +02:00
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
options.encoding = 'UTF-8'
|
|
|
|
options.release = 17
|
2022-04-18 10:42:38 -07:00
|
|
|
options.compilerArgs << '-Xlint:deprecation'
|
2021-09-08 12:46:47 -07:00
|
|
|
}
|
|
|
|
|
2024-08-29 22:56:59 +02:00
|
|
|
javadoc.options.encoding = 'UTF-8'
|
|
|
|
|
2025-01-30 02:15:33 -08:00
|
|
|
application {
|
|
|
|
mainClass = "wallettemplate.Main"
|
|
|
|
mainModule = "wallettemplate"
|
|
|
|
}
|
|
|
|
|
|
|
|
jlink {
|
2025-02-26 16:51:15 -08:00
|
|
|
options = ['--add-modules', 'org.slf4j.jul', '--ignore-signing-information']
|
2025-01-30 02:15:33 -08:00
|
|
|
}
|
2023-10-01 15:51:32 +02:00
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|