Remove the nullable flag on the lastRead field for Lexicon & Quest
This commit is contained in:
parent
b443b57eec
commit
9f44ce4543
12 changed files with 55 additions and 245 deletions
|
|
@ -1,7 +1,3 @@
|
|||
import java.text.SimpleDateFormat
|
||||
import java.util.Date
|
||||
import java.util.Locale
|
||||
|
||||
plugins {
|
||||
id("com.android.application")
|
||||
id("org.jetbrains.kotlin.android")
|
||||
|
|
@ -70,10 +66,6 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
buildTypes.onEach {
|
||||
it.buildConfigField("String", "DEFAULT_READ_TIME_STAMP", "\"$defaultReadTimestamp\"")
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
|
|
@ -174,12 +166,6 @@ room {
|
|||
schemaDirectory("$projectDir/schemas")
|
||||
}
|
||||
|
||||
val defaultReadTimestamp: String
|
||||
get() {
|
||||
val formatter = SimpleDateFormat("dd/MM/yyyy HH:mm:ss", Locale.FRANCE)
|
||||
return formatter.format(Date()).toString()
|
||||
}
|
||||
|
||||
val gitBuildNumber: Int
|
||||
get() {
|
||||
val stdout = org.apache.commons.io.output.ByteArrayOutputStream()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue