-
Notifications
You must be signed in to change notification settings - Fork 101
/
Copy pathbuild.gradle
27 lines (24 loc) · 1.04 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
apply plugin: 'java'
apply plugin: 'eclipse'
dependencies {
implementation project(':dashj-core')
implementation 'com.google.guava:guava:28.2-android'
implementation 'org.bouncycastle:bcprov-jdk15to18:1.74'
implementation 'com.google.protobuf:protobuf-javalite:3.17.3'
implementation 'net.sf.jopt-simple:jopt-simple:5.0.4'
implementation 'org.slf4j:slf4j-jdk14:1.7.30'
implementation 'org.dashj:dashj-bls:0.18.1'
implementation 'org.json:json:20180813'
}
sourceCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
javadoc.options.encoding = 'UTF-8'
task build_checkpoints(type: JavaExec) {
description = 'Create checkpoint files to use with CheckpointManager.'
main = 'org.bitcoinj.tools.BuildCheckpoints'
systemProperty "java.library.path", "../contrib/dashj-bls/bls/target/cmake:../contrib/x11/build"
if (project.hasProperty('appArgs') && appArgs.length() > 0)
args = Arrays.asList(appArgs.split("\\s+"))
classpath = sourceSets.main.runtimeClasspath
}