https://github.com/ben-manes/gradle-versions-plugin plugin allows to quickly generate a report of all the dependencies updates availalbe. Can be used with the configured task trough `gradle dependencyUpdates`.
Bump all library versions to minor+=1 and path=0 (except for plugins)
as updating to Kotlin 1.5 can have breaking changes (like in the
experimental Duration API which forced us to update Store)
Due to a breaking change in the experimental Duration API in Kotlin
1.5 and a conflict with inline classes and coroutine in the IR
compiler. I had to update several dependencies.
* Fix tests won't run anymore by updating Kotlin (and dependencies)
+ turbine
* Update Store4 since there was a breaking change in Kotlin 1.5's
experimental Duration API on which Store4 relied
* Fix some deprecated calls (toUppercase/toLowercase, capitalize,
expectItem, ...)
* Update to AGP 7 and gradle wrapper to 7.1
* Update hilt to make it work with AGP 7
* Remove `enableFeaturePreview("GRADLE_METADATA")` which are not needed anymore
* Remove `javaCompileOptions.annotationProcessorOptions.includeCompileClasspath` which is not supported anymore
* Add a task to convert SARIF reports into gitlab's JSON format to replace Algirdas' plugin
Algirda's plugin was not working on Java 9 and above because Java 9 now requires modules dependencies as part of project jigsaw.
The libraries must now declare their dependencies and since the plugin was not built against Java 9, this was causing an issue with Gson relying on `java.sql` but not included at runtime.
I couldn't find a way to fix it without either updating Algirda's plugin or making my own Gradle task. I took the latter option as depending on Algirda's code could be an issue if he's not available to fix the issue. Also, the code was fairly easy to duplicate and include into our own codebase.
'testDebugUnitTest' will run tests only for Android modules, with the newly create 'allTest' task, it will run 'testDebugUnitTest' for Android modules and 'test' on plain Kotlin ones