mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-18 13:22:42 +01:00
build.gradle: Update examples and tools submodules to JDK 11
This commit is contained in:
parent
dda89aad57
commit
0d67977ca1
@ -11,7 +11,7 @@ The bitcoinj library is a Java implementation of the Bitcoin protocol, which all
|
||||
### Technologies
|
||||
|
||||
* Java 8+ (needs Java 8 API or Android 7.0 API, compiles to Java 8 bytecode) and Gradle 4.4+ for the `core` module
|
||||
* Java 8+ and Gradle 4.4+ for `tools` and `examples`
|
||||
* Java 11+ and Gradle 4.4+ for `tools` and `examples`
|
||||
* Java 11+ and Gradle 4.10+ for the JavaFX-based `wallettemplate`
|
||||
* [Gradle](https://gradle.org/) - for building the project
|
||||
* [Google Protocol Buffers](https://github.com/google/protobuf) - for use with serialization and hardware communications
|
||||
|
@ -10,11 +10,11 @@ dependencies {
|
||||
implementation 'org.fusesource.leveldbjni:leveldbjni-all:1.8'
|
||||
}
|
||||
|
||||
sourceCompatibility = 8
|
||||
sourceCompatibility = 11
|
||||
compileJava.options.encoding = 'UTF-8'
|
||||
compileTestJava.options.encoding = 'UTF-8'
|
||||
javadoc.options.encoding = 'UTF-8'
|
||||
|
||||
compileJava {
|
||||
options.compilerArgs.addAll(['--release', '8'])
|
||||
options.compilerArgs.addAll(['--release', '11'])
|
||||
}
|
||||
|
@ -10,13 +10,13 @@ dependencies {
|
||||
implementation 'org.slf4j:slf4j-jdk14:1.7.32'
|
||||
}
|
||||
|
||||
sourceCompatibility = 8
|
||||
sourceCompatibility = 11
|
||||
compileJava.options.encoding = 'UTF-8'
|
||||
compileTestJava.options.encoding = 'UTF-8'
|
||||
javadoc.options.encoding = 'UTF-8'
|
||||
|
||||
compileJava {
|
||||
options.compilerArgs.addAll(['--release', '8'])
|
||||
options.compilerArgs.addAll(['--release', '11'])
|
||||
}
|
||||
|
||||
mainClassName = "org.bitcoinj.tools.WalletTool"
|
||||
|
Loading…
Reference in New Issue
Block a user