mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-13 11:36:15 +01:00
This is a signed, modular JAR and we need to tell jlink in walletemplate to use the `--ignore-signing-information` option.
44 lines
1 KiB
Groovy
44 lines
1 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
id 'org.openjfx.javafxplugin' version '0.1.0'
|
|
id 'org.beryx.jlink' version '3.1.1'
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':bitcoinj-core')
|
|
implementation 'com.google.zxing:core:3.5.3'
|
|
implementation 'org.slf4j:slf4j-api:2.0.16'
|
|
implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0'
|
|
|
|
runtimeOnly 'org.slf4j:slf4j-jdk14:2.0.16'
|
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:5.11.4"
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.11.4"
|
|
}
|
|
|
|
javafx {
|
|
version = '21.0.4'
|
|
modules = [ 'javafx.controls', 'javafx.fxml' ]
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
options.release = 17
|
|
options.compilerArgs << '-Xlint:deprecation'
|
|
}
|
|
|
|
javadoc.options.encoding = 'UTF-8'
|
|
|
|
application {
|
|
mainClass = "wallettemplate.Main"
|
|
mainModule = "wallettemplate"
|
|
}
|
|
|
|
jlink {
|
|
options = ['--add-modules', 'org.slf4j.jul', '--ignore-signing-information']
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|