Skip to content

Commit

Permalink
Add buildDeprecatedModules in gradle.properties
Browse files Browse the repository at this point in the history
Set to `true` initially.
  • Loading branch information
msgilligan committed Feb 26, 2021
1 parent b715c0e commit 3b6692d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
consensusjVersion = 0.5.5-SNAPSHOT

buildDeprecatedModules = true

# bitcoinj group, artifact, and version can be changed to use JitPack.io, etc
bitcoinjGroup = org.bitcoinj
bitcoinjArtifact = bitcoinj-core
Expand Down
12 changes: 7 additions & 5 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ include 'consensusj-currency', // JavaMoney Currency Provider(s
'cj-eth-jsonrpc', // Ethereum JSON-RPC client (experimental)
'cj-eth-jsonrpc-gvy', // Ethereum JSON-RPC client w/Groovy extensions (experimental)
'cj-nmc-jsonrpc', // Namecoin JSON-RPC client (experimental)
'cj-nmc-jsonrpc-gvy', // Namecoin JSON-RPC client w/Groovy extensions (experimental)
'cj-nmc-daemon', // Namecoin Daemon (experimental, Deprecated)
'cj-nmc-jsonrpc-gvy' // Namecoin JSON-RPC client w/Groovy extensions (experimental)

'bitcoinj-daemon', // Spring-based bitcoind proof-of-concept (Deprecated)
'bitcoinj-peerserver', // Spring-based P2P transaction viewer (Deprecated)
'bitcoinj-proxy' // Ratpack-based bitcoinj JSON-RPC Proxy Server (Deprecated)
if (buildDeprecatedModules == 'true') {
include 'cj-nmc-daemon', // Spring-based Namecoin Daemon (experimental, Deprecated)
'bitcoinj-daemon', // Spring-based bitcoind proof-of-concept (Deprecated)
'bitcoinj-peerserver', // Spring-based P2P transaction viewer (Deprecated)
'bitcoinj-proxy' // Ratpack-based bitcoinj JSON-RPC Proxy Server (Deprecated)
}

if (JavaVersion.current().isJava9Compatible()) {
System.err.println "Including JDK 9 modules because Java ${JavaVersion.current()} is JDK 9+"
Expand Down

0 comments on commit 3b6692d

Please sign in to comment.