forked from bisq-network/bisq2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
44 lines (38 loc) · 1.11 KB
/
settings.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
rootProject.name = 'misq'
include 'platforms:cli-platform'
include 'platforms:common-platform'
include 'platforms:grpc-platform'
include 'platforms:network-platform'
include 'platforms:web-platform'
include 'platforms:test-platform'
include 'account'
include 'api'
include 'application'
include 'cli'
include 'common'
include 'desktop'
include 'contract'
include 'grpc'
include 'i2p'
include 'identity'
include 'i18n'
include 'network'
include 'offer'
include 'persistence'
include 'presentation'
include 'protocol'
include 'security'
include 'support'
include 'tor'
include 'user'
include 'wallets'
include 'web'
import org.gradle.util.GradleVersion
def minGradleVersion = GradleVersion.version("7.1")
def minJavaVersion = JavaVersion.VERSION_16
if (GradleVersion.current() >= minGradleVersion && JavaVersion.current().isCompatibleWith(minJavaVersion)) {
println "Building ${rootProject.name} module with ${GradleVersion.current()} and Java ${JavaVersion.current()}."
} else {
throw new GradleException(
"${GradleVersion.current()} and Java ${minJavaVersion} are required to build ${rootProject.name}.")
}