From e32458320d36adcda0ef92ff46425a1b818609da Mon Sep 17 00:00:00 2001 From: Lex Li Date: Sun, 1 Nov 2026 21:15:58 +0800 Subject: [PATCH] Make sure there are no uncommitted changes --- app/build.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 39bc699eceaa..8e053d026c70 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -357,6 +357,6 @@ println("-------------------") if (!gitAvailable()) { throw GradleException("GIT system is not available. On Windows try to run Android Studio as an Administrator. Check if GIT is installed and Studio have permissions to use it") } -//if (isMaster() && !allCommitted()) { - // throw GradleException("There are uncommitted changes. Clone sources again as described in wiki and do not allow gradle update") -//} +if (isMaster() && !allCommitted()) { + throw GradleException("There are uncommitted changes. Clone sources again as described in wiki and do not allow gradle update") +}