-
Notifications
You must be signed in to change notification settings - Fork 435
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Migrated To Kotlin 2.0 * Workflow CI Update
- Loading branch information
Showing
45 changed files
with
1,117 additions
and
998 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,9 @@ build/ | |
# Gradle cache | ||
.gradle | ||
|
||
# Kotlin | ||
.kotlin | ||
|
||
# Android Studio captures folder | ||
captures/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
build-logic/convention/src/main/kotlin/AndroidApplicationComposeConventionPlugin.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
build-logic/convention/src/main/kotlin/AndroidLibraryComposeConventionPlugin.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
@echo off | ||
setlocal enabledelayedexpansion | ||
|
||
rem Check if gradlew exists in the project | ||
if not exist "%~dp0gradlew" ( | ||
echo Error: gradlew not found in the project. | ||
exit /b 1 | ||
) | ||
|
||
echo Starting all checks and tests... | ||
|
||
call :run_gradle_task "check -p build-logic" | ||
call :run_gradle_task "spotlessApply --no-configuration-cache" | ||
call :run_gradle_task "dependencyGuardBaseline" | ||
call :run_gradle_task "detekt" | ||
call :run_gradle_task "testDemoDebug" | ||
call :run_gradle_task "lintProdRelease" | ||
call :run_gradle_task "build" | ||
call :run_gradle_task "updateProdReleaseBadging" | ||
|
||
echo All checks and tests completed successfully. | ||
exit /b 0 | ||
|
||
:run_gradle_task | ||
echo ######################################################## | ||
echo Running: %~1 | ||
call "%~dp0gradlew" %~1 | ||
if %ERRORLEVEL% neq 0 ( | ||
echo Error: Task %~1 failed | ||
exit /b 1 | ||
) | ||
echo ######################################################## | ||
exit /b 0 |
Oops, something went wrong.