fix dokka

This commit is contained in:
C10udburst 2022-08-15 15:36:16 +02:00
parent 6233edefd4
commit ce45351399

View file

@ -43,6 +43,8 @@ android {
resValue "string", "commit_hash", resValue "string", "commit_hash",
("git rev-parse --short HEAD".execute().text.trim() ?: "") ("git rev-parse --short HEAD".execute().text.trim() ?: "")
resValue "bool", "is_prerelease", "false"
buildConfigField("String", "BUILDDATE", "new java.text.SimpleDateFormat(\"yyyy-MM-dd HH:mm\").format(new java.util.Date(" + System.currentTimeMillis() + "L));") buildConfigField("String", "BUILDDATE", "new java.text.SimpleDateFormat(\"yyyy-MM-dd HH:mm\").format(new java.util.Date(" + System.currentTimeMillis() + "L));")
@ -59,7 +61,7 @@ android {
// minifyEnabled false // minifyEnabled false
// shrinkResources false // shrinkResources false
// proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' // proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
// resValue "bool", "is_prerelease", "false" // resValue "bool", "is_prerelease", "false"
// } // }
prerelease { prerelease {
applicationIdSuffix ".prerelease" applicationIdSuffix ".prerelease"