Skip to content

Convert gradle scripts to use kotlin dsl#305

Merged
DanneD-Wisemen merged 12 commits intodevelopfrom
convert-gradle-scripts-to-use-kotlin-dsl
Feb 6, 2025
Merged

Convert gradle scripts to use kotlin dsl#305
DanneD-Wisemen merged 12 commits intodevelopfrom
convert-gradle-scripts-to-use-kotlin-dsl

Conversation

@DanneD-Wisemen
Copy link
Contributor

No description provided.

// classifier("sources")
}

afterEvaluate {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe an idea to move this to a separate file and include it where it is necessary?
This could also be done with the submodules configuration with a filter on the specific module

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried this but it could not get it to work. I tried extracting it into an other publish.gradle.kts file and applying it with apply { from(../publish.gradle.kts) } but the publish.gradle.kts gave several errors regarding unresolved references like groupId etc

@ernest-app ernest-app bot added the 📃 XL PR label Mar 1, 2024
# Conflicts:
#	build.gradle
#	core/build.gradle
#	data/networking/build.gradle
#	data/networking/proxyman/build.gradle
#	data/paging/build.gradle
#	data/room/build.gradle
#	list/emptyRecyclerView/build.gradle
#	sample/build.gradle
#	views/dataRow/build.gradle
# Conflicts:
#	build.gradle
#	core/build.gradle
#	data/paging/build.gradle
Upgrade Gradle and Kotlin versions, and update dependencies

- Upgraded Gradle version from 8.1.2 to 8.8.0.
``````

- Upgraded Kotlin version from 1.9.10 to 2.1.0.
- Updated `ksp` plugin version to 2.1.0-1.0.29.
- Updated Gradle wrapper distribution URL to use Gradle 8.10.2.
``````

- Updated `ProxyManNetworkDiscoveryManager` to use `lowercase()` instead of `toLowerCase(Locale.ROOT)`.
- Updated `BagelMessage` to use `lowercase()` instead of `toLowerCase(Locale.getDefault())`.
- Removed unnecessary overrides from `NetworkingListeners` in `MyApp`.
- Replaced `kotlin-kapt` with `ksp` plugin.
- Updated plugin declarations in `settings.gradle.kts` and `build.gradle.kts`
```
@DanneD-Wisemen DanneD-Wisemen merged commit 38b3066 into develop Feb 6, 2025
1 check passed
@DanneD-Wisemen DanneD-Wisemen deleted the convert-gradle-scripts-to-use-kotlin-dsl branch February 6, 2025 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants