diff --git a/.github/workflows/pr_checker.yml b/.github/workflows/pr_checker.yml index f8f6b628..cb009fb7 100644 --- a/.github/workflows/pr_checker.yml +++ b/.github/workflows/pr_checker.yml @@ -63,7 +63,7 @@ jobs: run: echo $GOOGLE_SERVICES_JSON > ./app/google-services.json - name: Build debug APK - run: ./gradlew assembleDebug --stacktrace + run: ./gradlew assembleDebug --stacktrace --build-cache --parallel - name: Run ktlint run: ./gradlew ktlintCheck diff --git a/gradle.properties b/gradle.properties index 3c5031eb..76001bc1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -20,4 +20,9 @@ kotlin.code.style=official # Enables namespacing of each library's R class so that its R class includes only the # resources declared in the library itself and none from the library's dependencies, # thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file +android.nonTransitiveRClass=true + +# improve build speed +org.gradle.daemon=true +org.gradle.parallel=true +org.gradle.caching=true