bitcoinj/tools/build.gradle
Andreas Schildbach b528fb5180 build.gradle: update SLF4J to 2.0.7
Starting with SLF4J 2.0.0, we can use the fluent logger API.
2023-03-27 15:25:02 +02:00

29 lines
798 B
Groovy

plugins {
id 'java'
id 'eclipse'
}
dependencies {
implementation project(':bitcoinj-core')
implementation 'info.picocli:picocli:4.7.1'
implementation 'org.slf4j:slf4j-jdk14:2.0.7'
}
sourceCompatibility = 11
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
javadoc.options.encoding = 'UTF-8'
compileJava {
options.compilerArgs.addAll(['--release', '11'])
options.compilerArgs << '-Xlint:deprecation'
}
task build_checkpoints(type: JavaExec) {
description = 'Create checkpoint files to use with CheckpointManager.'
main = 'org.bitcoinj.tools.BuildCheckpoints'
if (project.hasProperty('appArgs') && appArgs.length() > 0)
args = Arrays.asList(appArgs.split("\\s+"))
classpath = sourceSets.main.runtimeClasspath
}