From b83729f665477e5e09d527cfd40e1c9e31dd2c98 Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Sat, 12 Sep 2020 10:49:35 +0200 Subject: [PATCH] Small improvements in the dependency substitution code --- settings.gradle.kts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/settings.gradle.kts b/settings.gradle.kts index 0abb01d3..4b0fda82 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,3 +1,5 @@ +import java.util.Properties + include(":app") pluginManagement { @@ -11,8 +13,8 @@ pluginManagement { } // Load properties from local.properties -val properties = java.util.Properties().apply { - val location = file("local.properties") +val properties = Properties().apply { + val location = File("local.properties") if (location.exists()) load(location.inputStream()) }