Browse Source

Fixed build script.

housekeeping/remove-warnings
Antoine POPINEAU 5 years ago
parent
commit
6139591bd1
No known key found for this signature in database
GPG Key ID: A78AC64694F84063
  1. 5
      app/build.gradle.kts

5
app/build.gradle.kts

@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
import org.gradle.kotlin.dsl.*
import org.jetbrains.kotlin.gradle.dsl.KotlinJvmOptions
import org.jetbrains.kotlin.konan.properties.hasProperty
import java.io.FileInputStream
import java.util.*
@ -43,7 +44,7 @@ android { @@ -43,7 +44,7 @@ android {
signingConfigs {
create("release") {
if (props.contains("signing.store")) {
if (props.hasProperty("signing.store")) {
storeFile = file(props.getProperty("signing.store"))
storePassword = props.getProperty("signing.store_passphrase")
keyAlias = props.getProperty("signing.alias").toString()
@ -74,7 +75,7 @@ ktlint { @@ -74,7 +75,7 @@ ktlint {
}
play {
isEnabled = props.contains("play.credentials")
isEnabled = props.hasProperty("play.credentials")
if (isEnabled) {
serviceAccountCredentials = file(props.getProperty("play.credentials"))

Loading…
Cancel
Save