forked from hhu-bsinfo/dxram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.gradle
33 lines (29 loc) · 939 Bytes
/
types.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
buildVariants {
debug {
buildConfig {
typedField "DEBUG", Boolean, true
typedField "BUILD_TYPE", String, buildVariant
typedField "GIT_COMMIT", String, gitCommit
typedField "BUILD_USER", String, System.getProperty("user.name")
typedField "BUILD_DATE", String, currentDate
field "DXRAM_VERSION", "de.hhu.bsinfo.dxram.engine", "DXRAMVersion", "DXRAMVersion.fromString(\"${version}\")"
}
}
release {
excludeLogger 'RELEASE'
excludeStatistics 'RELEASE'
excludeNodeRoleAsserts 'RELEASE'
buildConfig {
inheritsFrom 'debug'
typedField "DEBUG", Boolean, false
}
}
performance {
excludeLogger 'PERFORMANCE'
excludeStatistics 'PERFORMANCE'
excludeNodeRoleAsserts 'PERFORMANCE'
buildConfig {
inheritsFrom 'debug'
}
}
}