Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

Commit b6d723e

Browse files
author
Stefan Nothaas
committed
Fix types.gradle missing build variant configs
1 parent 784c286 commit b6d723e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

types.gradle

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
buildVariants {
2+
debug {
3+
buildConfig {
4+
typedField "BUILD_TYPE", String, buildVariant
5+
typedField "GIT_COMMIT", String, gitCommit
6+
typedField "BUILD_USER", String, System.getProperty("user.name")
7+
typedField "BUILD_DATE", String, currentDate
8+
}
9+
}
10+
11+
release {
12+
buildConfig {
13+
inheritsFrom 'debug'
14+
}
15+
}
16+
17+
performance {
18+
buildConfig {
19+
inheritsFrom 'debug'
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)