From fa591388ed333d641f2e54974dcd59be8f4ac5cf Mon Sep 17 00:00:00 2001 From: Catfriend1 <16361913+Catfriend1@users.noreply.github.com> Date: Thu, 31 Jul 2025 10:59:33 +0200 Subject: [PATCH] versionCatalog: cleanup --- build.cmd | 17 ++++++++++++----- gradle/libs.versions.toml | 1 - 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/build.cmd b/build.cmd index d1ded71ca..3f8aa9b25 100644 --- a/build.cmd +++ b/build.cmd @@ -1,11 +1,18 @@ @echo off setlocal enabledelayedexpansion :: -call gradlew %1 assembledebug --warning-mode all +:: Example +:: call build && echo OK +:: +IF /I "%1" == "clean" SET PARAM_NO_BUILD_CACHE=--no-build-cache +:: +call gradlew %PARAM_NO_BUILD_CACHE% --warning-mode all %* assembledebug +SET GRADLEW_ERRORLEVEL=%ERRORLEVEL% :: call scripts\debug\win\hide-folders-from-notepad++.cmd :: -endlocal -where update.cmd >NUL: 2>&1 || SET "PATH=%PATH%;%~dp0scripts\debug\win" -:: -goto :eof +endlocal & ( + where update.cmd >NUL: 2>&1 || SET "PATH=%PATH%;%~dp0scripts\debug\win" + :: + exit /b %GRADLEW_ERRORLEVEL% +) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 851c59321..abce623f4 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -37,7 +37,6 @@ zxing-core = "3.3.0" [libraries] aboutlibraries-core = { module = "com.mikepenz:aboutlibraries-core", version.ref = "aboutLibraries" } -aboutlibraries-compose-core = { module = "com.mikepenz:aboutlibraries-compose-core", version.ref = "aboutLibraries" } aboutlibraries-compose-m2 = { module = "com.mikepenz:aboutlibraries-compose", version.ref = "aboutLibraries" } activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activity" } activity-ktx = { module = "androidx.activity:activity-ktx", version.ref = "activity" }