forked from hhu-bsinfo/dxnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.gradle
36 lines (30 loc) · 1.15 KB
/
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
34
35
36
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
}
}
release {
excludeLogger 'RELEASE'
excludeStatistics 'RELEASE'
excludeInvocations 'de.hhu.bsinfo.dxnet.ib.IBConnectionManager.SendRecvTargetStats#sendRecvCallDebug'
excludeInvocations 'de.hhu.bsinfo.dxnet.ib.IBConnectionManager.SendRecvTargetStats#dataSentRecvDebug'
excludeInvocations 'de.hhu.bsinfo.dxnet.ib.IBConnectionManager.SendRecvTargetStats#dataFCSentRecvDebug'
buildConfig {
inheritsFrom 'debug'
typedField "DEBUG", Boolean, false
}
}
performance {
excludeLogger 'PERFORMANCE'
excludeStatistics 'PERFORMANCE'
excludeInvocations 'de.hhu.bsinfo.dxnet.ib.IBConnectionManager.SendRecvTargetStats#sendRecvCallDebug'
buildConfig {
inheritsFrom 'debug'
}
}
}