Use double quotes in Gradle scripts
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'kotlin-android'
|
id "kotlin-android"
|
||||||
id 'kotlin-kapt'
|
id "kotlin-kapt"
|
||||||
id 'com.android.application'
|
id "com.android.application"
|
||||||
id 'androidx.navigation.safeargs.kotlin'
|
id "androidx.navigation.safeargs.kotlin"
|
||||||
id 'dagger.hilt.android.plugin'
|
id "dagger.hilt.android.plugin"
|
||||||
id 'org.jetbrains.kotlin.plugin.serialization'
|
id "org.jetbrains.kotlin.plugin.serialization"
|
||||||
id 'com.google.gms.google-services'
|
id "com.google.gms.google-services"
|
||||||
id 'com.google.firebase.crashlytics'
|
id "com.google.firebase.crashlytics"
|
||||||
id "com.guardsquare.appsweep" version "$appsweep_version"
|
id "com.guardsquare.appsweep" version "$appsweep_version"
|
||||||
id "com.google.protobuf" version "$protobuf_plugin_version"
|
id "com.google.protobuf" version "$protobuf_plugin_version"
|
||||||
}
|
}
|
||||||
@@ -37,12 +37,12 @@ android {
|
|||||||
def keystoreProperties = new Properties()
|
def keystoreProperties = new Properties()
|
||||||
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||||
|
|
||||||
keyAlias keystoreProperties['keyAlias']
|
keyAlias keystoreProperties["keyAlias"]
|
||||||
keyPassword keystoreProperties['keyPassword']
|
keyPassword keystoreProperties["keyPassword"]
|
||||||
storeFile file(keystoreProperties['storeFile'])
|
storeFile file(keystoreProperties["storeFile"])
|
||||||
storePassword keystoreProperties['storePassword']
|
storePassword keystoreProperties["storePassword"]
|
||||||
} else {
|
} else {
|
||||||
println 'Unable to read keystore.properties'
|
println "Unable to read keystore.properties"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -56,7 +56,7 @@ android {
|
|||||||
release {
|
release {
|
||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
shrinkResources true
|
shrinkResources true
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
|
||||||
signingConfig signingConfigs.release
|
signingConfig signingConfigs.release
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -71,18 +71,18 @@ android {
|
|||||||
all {
|
all {
|
||||||
jacoco {
|
jacoco {
|
||||||
includeNoLocationClasses = true
|
includeNoLocationClasses = true
|
||||||
excludes = ['jdk.internal.*']
|
excludes = ["jdk.internal.*"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
lint {
|
lint {
|
||||||
disable 'ObsoleteLintCustomCheck', 'IconMissingDensityFolder'
|
disable "ObsoleteLintCustomCheck", "IconMissingDensityFolder"
|
||||||
enable 'ConvertToWebp', 'DuplicateStrings', 'EasterEgg', 'ExpensiveAssertion', 'IconExpectedSize', 'ImplicitSamInstance', 'InvalidPackage', 'KotlinPropertyAccess', 'LambdaLast', 'MinSdkTooLow', 'NegativeMargin', 'NoHardKeywords', 'Registered', 'RequiredSize', 'UnknownNullness', 'WrongThreadInterprocedural'
|
enable "ConvertToWebp", "DuplicateStrings", "EasterEgg", "ExpensiveAssertion", "IconExpectedSize", "ImplicitSamInstance", "InvalidPackage", "KotlinPropertyAccess", "LambdaLast", "MinSdkTooLow", "NegativeMargin", "NoHardKeywords", "Registered", "RequiredSize", "UnknownNullness", "WrongThreadInterprocedural"
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace 'gq.kirmanak.mealient'
|
namespace "gq.kirmanak.mealient"
|
||||||
|
|
||||||
packagingOptions {
|
packagingOptions {
|
||||||
resources.excludes += "DebugProbesKt.bin"
|
resources.excludes += "DebugProbesKt.bin"
|
||||||
@@ -196,7 +196,7 @@ protobuf {
|
|||||||
all().each { task ->
|
all().each { task ->
|
||||||
task.builtins {
|
task.builtins {
|
||||||
java {
|
java {
|
||||||
option 'lite'
|
option "lite"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,4 +6,4 @@ dependencyResolutionManagement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
rootProject.name = "Mealient"
|
rootProject.name = "Mealient"
|
||||||
include ':app'
|
include ":app"
|
||||||
|
|||||||
Reference in New Issue
Block a user