From ffd91d746b80dbebccef5a2c27f0532f83d40176 Mon Sep 17 00:00:00 2001 From: charlie mangano Date: Sat, 9 Nov 2024 15:07:59 +0100 Subject: [PATCH] fix: fix Secrets Gradle plugin is applied before dependencies --- app/build.gradle.kts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 5623ae918..8b816d88d 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -13,11 +13,6 @@ plugins { id("com.google.android.libraries.mapsplatform.secrets-gradle-plugin") } -secrets { - propertiesFileName = "apikeys.properties" - defaultPropertiesFileName = "apikeys.defaults.properties" -} - android { namespace = "com.android.periodpals" compileSdk = 34 @@ -253,6 +248,11 @@ dependencies { implementation("androidx.compose.material3:material3-window-size-class:1.3.0") } +secrets { + propertiesFileName = "apikeys.properties" + defaultPropertiesFileName = "apikeys.defaults.properties" +} + tasks.withType { // Configure Jacoco for each tests configure {