Update gradle dependencies and improve build configuration#2153
Closed
daedaevibin wants to merge 23 commits into
Closed
Update gradle dependencies and improve build configuration#2153daedaevibin wants to merge 23 commits into
daedaevibin wants to merge 23 commits into
Conversation
…th 5 updates Bumps the gradle-dependencies group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [com.google.genai:google-genai](https://github.com/googleapis/java-genai) | `1.53.0` | `1.55.0` | | [io.netty:netty-common](https://github.com/netty/netty) | `4.2.13.Final` | `4.2.14.Final` | | [io.netty:netty-handler](https://github.com/netty/netty) | `4.2.13.Final` | `4.2.14.Final` | | [io.netty:netty-codec-http](https://github.com/netty/netty) | `4.2.13.Final` | `4.2.14.Final` | | [io.netty:netty-codec-http2](https://github.com/netty/netty) | `4.2.13.Final` | `4.2.14.Final` | Updates `com.google.genai:google-genai` from 1.53.0 to 1.55.0 - [Release notes](https://github.com/googleapis/java-genai/releases) - [Changelog](https://github.com/googleapis/java-genai/blob/main/CHANGELOG.md) - [Commits](googleapis/java-genai@v1.53.0...v1.55.0) Updates `io.netty:netty-common` from 4.2.13.Final to 4.2.14.Final - [Release notes](https://github.com/netty/netty/releases) - [Commits](netty/netty@netty-4.2.13.Final...netty-4.2.14.Final) Updates `io.netty:netty-handler` from 4.2.13.Final to 4.2.14.Final - [Release notes](https://github.com/netty/netty/releases) - [Commits](netty/netty@netty-4.2.13.Final...netty-4.2.14.Final) Updates `io.netty:netty-codec-http` from 4.2.13.Final to 4.2.14.Final - [Release notes](https://github.com/netty/netty/releases) - [Commits](netty/netty@netty-4.2.13.Final...netty-4.2.14.Final) Updates `io.netty:netty-codec-http2` from 4.2.13.Final to 4.2.14.Final - [Release notes](https://github.com/netty/netty/releases) - [Commits](netty/netty@netty-4.2.13.Final...netty-4.2.14.Final) Updates `io.netty:netty-handler` from 4.2.13.Final to 4.2.14.Final - [Release notes](https://github.com/netty/netty/releases) - [Commits](netty/netty@netty-4.2.13.Final...netty-4.2.14.Final) Updates `io.netty:netty-codec-http` from 4.2.13.Final to 4.2.14.Final - [Release notes](https://github.com/netty/netty/releases) - [Commits](netty/netty@netty-4.2.13.Final...netty-4.2.14.Final) Updates `io.netty:netty-codec-http2` from 4.2.13.Final to 4.2.14.Final - [Release notes](https://github.com/netty/netty/releases) - [Commits](netty/netty@netty-4.2.13.Final...netty-4.2.14.Final) --- updated-dependencies: - dependency-name: com.google.genai:google-genai dependency-version: 1.54.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gradle-dependencies - dependency-name: io.netty:netty-codec-http dependency-version: 4.2.14.Final dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gradle-dependencies - dependency-name: io.netty:netty-codec-http dependency-version: 4.2.14.Final dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gradle-dependencies - dependency-name: io.netty:netty-codec-http2 dependency-version: 4.2.14.Final dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gradle-dependencies - dependency-name: io.netty:netty-codec-http2 dependency-version: 4.2.14.Final dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gradle-dependencies - dependency-name: io.netty:netty-common dependency-version: 4.2.14.Final dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gradle-dependencies - dependency-name: io.netty:netty-handler dependency-version: 4.2.14.Final dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gradle-dependencies - dependency-name: io.netty:netty-handler dependency-version: 4.2.14.Final dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gradle-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
…dependencies-b9c0c5fecc chore(deps): bump the gradle-dependencies group across 1 directory with 5 updates
Bumps the gradle-dependencies group with 1 update: [com.google.devtools.ksp](https://github.com/google/ksp). Updates `com.google.devtools.ksp` from 2.3.8 to 2.3.9 - [Release notes](https://github.com/google/ksp/releases) - [Commits](google/ksp@2.3.8...2.3.9) --- updated-dependencies: - dependency-name: com.google.devtools.ksp dependency-version: 2.3.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gradle-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
…dependencies-eeb2b626e2 chore(deps): bump com.google.devtools.ksp from 2.3.8 to 2.3.9 in the gradle-dependencies group
…cleanup
Refactor the build system to use version catalog bundles and enhance project configuration for better performance and security. This change also addresses various lint warnings and deprecations across the codebase.
- **Build & Dependencies**:
- Migrated individual dependencies to `libs.bundles` for Compose, Hilt, Room, Paging, Media3, and Networking in both `app` and `wear` modules.
- Enabled Gradle build caching and incremental KSP in `gradle.properties`.
- Enabled `nonTransitiveRClass` and disabled `Jetifier` to improve build speeds.
- Configured lint to check release builds while allowing the build to continue on errors.
- **Security & Networking**:
- Updated `network_security_config.xml` to disable cleartext traffic by default, restricting it to loopback addresses.
- Refactored `CastTransferStateHolder` to improve `HttpURLConnection` handling.
- **Code Cleanup & Modernization**:
- Suppressed `DEPRECATION` warnings for `ModalBottomSheet` and `MediaRouter` APIs across the UI layer.
- Replaced `println` with `Timber` logging in `PlayerViewModel`.
- Removed redundant type casts and simplified nullable string handling in `ConnectivityStateHolder` and `AccountsViewModel`.
- Updated `EditSongSheet` to use `mutableFloatStateOf` and corrected `rememberTransformableState` lambda parameters.
- Fixed string resource formatting for `batch_edit_partial_success` in `strings.xml`.
- **Repository Improvements**:
- Cleaned up unused imports and organized dependencies in `MusicRepositoryImpl`.
- Simplified logic in `MediaStoreSongRepository` by removing unnecessary type casts.
Contributor
Author
|
Apologies for the "Unverified" commits, my stuff bugged out so I was unable to sign commits for the time being. The only found fix for the CodeQL issue is to clear your build caches.
|
…th 2 updates Bumps the gradle-dependencies group with 2 updates in the / directory: [com.google.genai:google-genai](https://github.com/googleapis/java-genai) and [io.mockk:mockk](https://github.com/mockk/mockk). Updates `com.google.genai:google-genai` from 1.55.0 to 1.56.0 - [Release notes](https://github.com/googleapis/java-genai/releases) - [Changelog](https://github.com/googleapis/java-genai/blob/main/CHANGELOG.md) - [Commits](googleapis/java-genai@v1.55.0...v1.56.0) Updates `io.mockk:mockk` from 1.14.9 to 1.14.11 - [Release notes](https://github.com/mockk/mockk/releases) - [Commits](mockk/mockk@1.14.9...v1.14.11) --- updated-dependencies: - dependency-name: com.google.genai:google-genai dependency-version: 1.56.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gradle-dependencies - dependency-name: io.mockk:mockk dependency-version: 1.14.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gradle-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
…dependencies-e047319c2b chore(deps): bump the gradle-dependencies group across 1 directory with 2 updates
Signed-off-by: Dае Еuнша <daedaevibin@ik.me>
Signed-off-by: Dае Еuнша <daedaevibin@ik.me>
Signed-off-by: Dае Еuнша <daedaevibin@ik.me>
…tes due to time-outs or resource usages.
Signed-off-by: Dае Еuнша <daedaevibin@ik.me>
- Consolidate CodeQL build, security, and quality checks into single codeql.yml workflow - Fixes GitHub CodeQL recognition (now uses standard workflow naming) - Runs build and analysis inline, eliminating artifact passing overhead - Maintains aggressive caching for faster subsequent runs (~5-7 mins with cache vs 15+ mins) - Reduces resource usage by avoiding parallel CodeQL analysis jobs - Add lint.yml workflow for code quality checks - Add tests.yml workflow for unit and integration tests - All workflows use Gradle cache to minimize build times on dependency updates
Contributor
Author
|
Please excuse the tests and lint workflows, these are just some helpful extras that I am adding. currently WIP. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.