FGA
FGA copied to clipboard
chore: Update Project configuration
Pull Request Type
- [X] Chore
- [ ] Bugfix
- [ ] Feature Implementation
- [ ] Documentation
- [ ] Other
Related issue
Description
- Update Java from 11 to 17
Screenshots
Testing
Additional context
This pull request introduces several significant updates to the project, including upgrading the Java version, restructuring dependency management, and cleaning up the .gitignore files. Additionally, it updates Gradle build scripts to align with modern practices and enhances repository management in settings.gradle.kts.
Java Version Upgrade:
- Updated
sourceCompatibilityandtargetCompatibilityfrom Java 11 to Java 17 across multiple modules (app/build.gradle.kts,libautomata/build.gradle.kts,prefs/build.gradle.kts,scripts/build.gradle.kts). [1] [2] [3] [4]
Dependency and Plugin Management:
- Refactored
gradle/libs.versions.tomlto simplify version references by removing redundant_versionsuffixes and aligning dependency keys with modern conventions. [1] [2] - Added repository and dependency resolution management in
settings.gradle.ktsto enforce centralized repository definitions and restrict project-level repositories.
Build Script Enhancements:
- Moved Kotlin compiler options for experimental Compose APIs from
android.kotlinOptionsto atasksblock inapp/build.gradle.ktsfor better organization.
Cleanup:
- Removed
/buildentries from.gitignorefiles across multiple modules (app,libautomata,prefs,scripts) to prevent redundant ignores. [1] [2]
These changes improve the project's compatibility with Java 17, streamline dependency management, and clean up unnecessary configurations.