From bd21947c08edc668c7e83556229c3950028e8f38 Mon Sep 17 00:00:00 2001 From: Kirill Kamakin Date: Sat, 9 Jul 2022 10:17:02 +0200 Subject: [PATCH] Use double quotes in Gradle scripts --- app/build.gradle | 38 +++++++++++++++++++------------------- settings.gradle | 2 +- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index bc87e05..622c273 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,12 +1,12 @@ plugins { - id 'kotlin-android' - id 'kotlin-kapt' - id 'com.android.application' - id 'androidx.navigation.safeargs.kotlin' - id 'dagger.hilt.android.plugin' - id 'org.jetbrains.kotlin.plugin.serialization' - id 'com.google.gms.google-services' - id 'com.google.firebase.crashlytics' + id "kotlin-android" + id "kotlin-kapt" + id "com.android.application" + id "androidx.navigation.safeargs.kotlin" + id "dagger.hilt.android.plugin" + id "org.jetbrains.kotlin.plugin.serialization" + id "com.google.gms.google-services" + id "com.google.firebase.crashlytics" id "com.guardsquare.appsweep" version "$appsweep_version" id "com.google.protobuf" version "$protobuf_plugin_version" } @@ -37,12 +37,12 @@ android { def keystoreProperties = new Properties() keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) - keyAlias keystoreProperties['keyAlias'] - keyPassword keystoreProperties['keyPassword'] - storeFile file(keystoreProperties['storeFile']) - storePassword keystoreProperties['storePassword'] + keyAlias keystoreProperties["keyAlias"] + keyPassword keystoreProperties["keyPassword"] + storeFile file(keystoreProperties["storeFile"]) + storePassword keystoreProperties["storePassword"] } else { - println 'Unable to read keystore.properties' + println "Unable to read keystore.properties" } } } @@ -56,7 +56,7 @@ android { release { minifyEnabled true shrinkResources true - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" signingConfig signingConfigs.release } } @@ -71,18 +71,18 @@ android { all { jacoco { includeNoLocationClasses = true - excludes = ['jdk.internal.*'] + excludes = ["jdk.internal.*"] } } } } lint { - disable 'ObsoleteLintCustomCheck', 'IconMissingDensityFolder' - enable 'ConvertToWebp', 'DuplicateStrings', 'EasterEgg', 'ExpensiveAssertion', 'IconExpectedSize', 'ImplicitSamInstance', 'InvalidPackage', 'KotlinPropertyAccess', 'LambdaLast', 'MinSdkTooLow', 'NegativeMargin', 'NoHardKeywords', 'Registered', 'RequiredSize', 'UnknownNullness', 'WrongThreadInterprocedural' + disable "ObsoleteLintCustomCheck", "IconMissingDensityFolder" + 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 { resources.excludes += "DebugProbesKt.bin" @@ -196,7 +196,7 @@ protobuf { all().each { task -> task.builtins { java { - option 'lite' + option "lite" } } } diff --git a/settings.gradle b/settings.gradle index c4fe835..6a044a9 100644 --- a/settings.gradle +++ b/settings.gradle @@ -6,4 +6,4 @@ dependencyResolutionManagement { } } rootProject.name = "Mealient" -include ':app' +include ":app"