-
Notifications
You must be signed in to change notification settings - Fork 554
Migrate to Gradle Kotlin DSL #2353
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
base: development
Are you sure you want to change the base?
Conversation
Signed-off-by: Aditya Wasan <[email protected]>
Signed-off-by: Aditya Wasan <[email protected]>
Signed-off-by: Aditya Wasan <[email protected]>
Signed-off-by: Aditya Wasan <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resolve conflicts
Signed-off-by: Aditya Wasan <[email protected]>
Removed: - local.properties gradle plugin - AndroidConfig.kt - KOTLIN_VERSION property Signed-off-by: Aditya Wasan <[email protected]>
@liveHarshit do i need to resolve codacy issues because most of the UnsafeCast are due to the return type being Any for the functions. |
You can fix them by using smart cast and removing non-null assertions. |
First goal should be passing build. Second would be polishing because the current library declarations are too verbose. We only want versions for libraries which have duplicate dependencies. We also don't know if dependabot supports this format. We can't lose auto dependency update functionality |
@iamareebjamal dependabot currently does not support kts. The issue is opened since a year though https://github.com/dependabot/feedback/issues/172 |
@iamareebjamal @adityastic so should I work on kts or close this PR and check groovy dependency management ? |
Leave it be. We'll iterate on it when the support is added |
@iamareebjamal sure, I'll just update the PR so to make sure it passes all the checks. |
Signed-off-by: Aditya Wasan <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please resolve conflicts
app/build.gradle.kts
Outdated
//ExpandableView | ||
implementation(Libs.expandablelayout) | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Signed-off-by: Aditya Wasan <[email protected]>
Fixes #1410
Changes: Converted gradle files to kotlin dsl syntax