codecharta icon indicating copy to clipboard operation
codecharta copied to clipboard

Optimize gradle build scripts

Open fritschldwg opened this issue 9 months ago • 0 comments

Research

General Idea

  • Optimize gradle build scripts in terms of idiomacy and build time

Proposed Solution

  • Thoroughly analyze which dependencies can be removed
  • Unify dependencies (in root module)
  • Update build scripts to remove deprecation warnings related to gradle v9
  • Refactor build scripts to reduce build time, make them more idiomatic and reduce coupling
    • https://proandroiddev.com/how-we-reduced-our-gradle-build-times-by-over-80-51f2b6d6b05b
    • https://docs.gradle.org/current/userguide/multi_project_configuration_and_execution.html
  • Make use of gradle build cache and gradle configuration cache on github runners
    • https://docs.gradle.org/current/userguide/github-actions.html
    • https://github.com/gradle/gradle-build-action
  • Fix gradle sonar task warnings and erros
    • Could not report issue with code highlighting, using plain text instead. Check whether the product is outdated.
    • java.lang.UnsupportedOperationException: null
  • Implement tests for build logic and gradle tasks
    • https://docs.gradle.org/current/userguide/test_kit.html

fritschldwg avatar Apr 25 '24 09:04 fritschldwg