-
Notifications
You must be signed in to change notification settings - Fork 6
Refactor: Update dependencies and plugins to use version catalog #91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 18 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
8688f39
Refactor: Update dependencies and plugins to use version catalog
baraa0abd 6c9bc62
Refactor: Enable minification and resource shrinking for app release
baraa0abd b25ab11
Merge remote-tracking branch 'origin/develop' into refactor/refactor-…
baraa0abd 958047b
Merge pull request #115 from MadridSquad/update/kotlin-version
baraa0abd 5cd58b6
Merge pull request #115 from MadridSquad/update/kotlin-version
baraa0abd 582bb60
Merge pull request #115 from MadridSquad/update/kotlin-version
baraa0abd b09a0c1
Merge pull request #115 from MadridSquad/update/kotlin-version
baraa0abd dbc6fc5
Merge branch 'refs/heads/develop' into refactor/refactor-gradle
baraa0abd 8ea7f78
Merge pull request #115 from MadridSquad/update/kotlin-version
baraa0abd 626c8df
Downgrade Gradle to 8.4 and related dependencies
baraa0abd 0e829db
Refactor: Downgrade Kotlin and update dependencies
baraa0abd 75ec0c0
Refactor: Update dependencies and Gradle configuration
baraa0abd b2e0aee
Refactor: Update dependencies and Gradle configuration
baraa0abd e300be9
Refactor: Update dependencies and Gradle configuration
baraa0abd a4c2275
Remove Material3 dependency and update Coil library
baraa0abd 66b410e
Update Room Database to version 2.7.2
baraa0abd 5b73d92
kotlin-stdlib version to 1.9.10
baraa0abd bf681a6
Merge remote-tracking branch 'origin/develop' into refactor/refactor-…
baraa0abd af1cb10
Merge branch 'develop' into refactor/refactor-gradle
baraa0abd 887857c
Merge branch 'develop' into refactor/refactor-gradle
baraa0abd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,37 @@ | ||
| // Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
| plugins { | ||
| alias(libs.plugins.android.application) apply false | ||
| alias(libs.plugins.kotlin.android) apply false | ||
| alias(libs.plugins.kotlin.compose) apply false | ||
| alias(libs.plugins.android.library) apply false | ||
| alias(libs.plugins.kotlin.android) apply false | ||
| alias(libs.plugins.jetbrains.kotlin.jvm) apply false | ||
| id("com.google.gms.google-services") version "4.4.3" apply false | ||
| id("com.google.firebase.crashlytics") version "3.0.4" apply false | ||
| alias(libs.plugins.compose) apply false | ||
| alias(libs.plugins.kotlin.kapt) apply false | ||
| alias(libs.plugins.kotlin.serialization) apply false | ||
| alias(libs.plugins.google.services) apply false | ||
| alias(libs.plugins.firebase.crashlytics) apply false | ||
| alias(libs.plugins.ksp) apply false | ||
| } | ||
|
|
||
| // Custom clean task to handle file system issues | ||
| tasks.register("cleanAll") { | ||
| dependsOn("clean") | ||
| doLast { | ||
| // Force delete build directories that might be locked | ||
| project.subprojects.forEach { subproject -> | ||
| val buildDir = subproject.buildDir | ||
| if (buildDir.exists()) { | ||
| buildDir.deleteRecursively() | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
| subprojects { | ||
| configurations.all { | ||
| resolutionStrategy.eachDependency { | ||
| if (requested.group == "org.jetbrains.kotlin" && requested.name.startsWith("kotlin-stdlib")) { | ||
| useVersion("1.9.10") | ||
| } | ||
| } | ||
| } | ||
| } |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # Keep model classes for serialization/deserialization | ||
| -keepclassmembers class * { | ||
| @com.google.gson.annotations.SerializedName <fields>; | ||
| } | ||
|
|
||
| # Keep Retrofit interfaces | ||
| -keep interface retrofit2.** { *; } | ||
| -keep class retrofit2.** { *; } | ||
| -dontwarn retrofit2.** | ||
|
|
||
| # Keep Room database entities and DAOs | ||
| -keep class androidx.room.Entity | ||
| -keep @androidx.room.* class * { *; } | ||
| -keepclassmembers class * { | ||
| @androidx.room.* <fields>; | ||
| } | ||
|
|
||
| # Keep Kotlin data classes (for serialization) | ||
| -keepclassmembers class * { | ||
| <init>(...); | ||
| } | ||
|
|
||
| # Keep all classes with @Keep annotation | ||
| -keep @androidx.annotation.Keep class * {*;} | ||
| -keep @androidx.annotation.Keep class * { *; } | ||
|
|
||
| # Add additional rules as needed for your project |
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.