diff --git a/.gitea/workflows/build_arch.yml b/.gitea/workflows/build_arch.yml index 408c845..653c294 100644 --- a/.gitea/workflows/build_arch.yml +++ b/.gitea/workflows/build_arch.yml @@ -37,7 +37,8 @@ jobs: - name: Build APKs release run: | - # Run this command from your project root: + find . -name "build" -type d -exec rm -rf {} + + rm -rf ~/.gradle/caches/ rm -rf /workspace/Fast/apk/src/**/app/build/kotlin ./build.sh clean diff --git a/build.sh b/build.sh index 34e406b..cd84241 100755 --- a/build.sh +++ b/build.sh @@ -17,7 +17,7 @@ export PATH="${PATH}:${ANDROID_HOME}/platform-tools" if [ "$1" == "clean" ]; then - BUILD_MODE="clean build" + BUILD_MODE="clean assembleRelease" BUILD_LOGGING="" else BUILD_MODE="assembleDebug" diff --git a/src/FastAdmin/app/build.gradle b/src/FastAdmin/app/build.gradle index 5f4f6af..0ef4c82 100644 --- a/src/FastAdmin/app/build.gradle +++ b/src/FastAdmin/app/build.gradle @@ -1,10 +1,10 @@ plugins { - id 'com.android.application' - id 'org.jetbrains.kotlin.android' + id = 'com.android.application' + id = 'org.jetbrains.kotlin.android' } android { - namespace 'com.example.FastAdmin' // Replace with your package name + namespace = 'com.example.FastAdmin' // Replace with your package name compileSdk = 34 // Use the latest stable SDK defaultConfig { @@ -27,6 +27,6 @@ android { dependencies { // Add necessary dependencies - implementation 'androidx.core:core-ktx:1.9.0' - implementation 'androidx.appcompat:appcompat:1.6.1' + implementation = 'androidx.core:core-ktx:1.9.0' + implementation = 'androidx.appcompat:appcompat:1.6.1' }