Skip to content

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

Open
wants to merge 8 commits into
base: development
Choose a base branch
from
Open

Migrate to Gradle Kotlin DSL #2353

wants to merge 8 commits into from

Conversation

Skrilltrax
Copy link

Fixes #1410

Changes: Converted gradle files to kotlin dsl syntax

Copy link
Member

@liveHarshit liveHarshit left a comment

Choose a reason for hiding this comment

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

resolve conflicts

Removed:

- local.properties gradle plugin
- AndroidConfig.kt
- KOTLIN_VERSION property

Signed-off-by: Aditya Wasan <[email protected]>
@fossasia fossasia deleted a comment Sep 19, 2019
@fossasia fossasia deleted a comment Sep 19, 2019
@fossasia fossasia deleted a comment Sep 19, 2019
@fossasia fossasia deleted a comment Sep 19, 2019
@fossasia fossasia deleted a comment Sep 19, 2019
@fossasia fossasia deleted a comment Sep 19, 2019
@fossasia fossasia deleted a comment Sep 19, 2019
@fossasia fossasia deleted a comment Sep 19, 2019
@fossasia fossasia deleted a comment Sep 19, 2019
@fossasia fossasia deleted a comment Sep 19, 2019
@fossasia fossasia deleted a comment Sep 19, 2019
@fossasia fossasia deleted a comment Sep 19, 2019
@fossasia fossasia deleted a comment Sep 19, 2019
@fossasia fossasia deleted a comment Sep 19, 2019
@fossasia fossasia deleted a comment Sep 20, 2019
@Skrilltrax
Copy link
Author

@liveHarshit do i need to resolve codacy issues because most of the UnsafeCast are due to the return type being Any for the functions.

@liveHarshit
Copy link
Member

liveHarshit commented Sep 20, 2019

@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.

@iamareebjamal
Copy link
Member

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

@adityastic
Copy link
Contributor

@iamareebjamal dependabot currently does not support kts. The issue is opened since a year though https://github.com/dependabot/feedback/issues/172

@Skrilltrax
Copy link
Author

@iamareebjamal @adityastic so should I work on kts or close this PR and check groovy dependency management ?

@iamareebjamal
Copy link
Member

Leave it be. We'll iterate on it when the support is added

@Skrilltrax
Copy link
Author

@iamareebjamal sure, I'll just update the PR so to make sure it passes all the checks.

Signed-off-by: Aditya Wasan <[email protected]>
@fossasia fossasia deleted a comment Sep 21, 2019
@fossasia fossasia deleted a comment Sep 21, 2019
@fossasia fossasia deleted a comment Sep 21, 2019
@fossasia fossasia deleted a comment Sep 21, 2019
@fossasia fossasia deleted a comment Sep 21, 2019
@fossasia fossasia deleted a comment Sep 21, 2019
@fossasia fossasia deleted a comment Sep 21, 2019
@fossasia fossasia deleted a comment Sep 21, 2019
@fossasia fossasia deleted a comment Sep 21, 2019
@fossasia fossasia deleted a comment Sep 21, 2019
@fossasia fossasia deleted a comment Sep 21, 2019
@fossasia fossasia deleted a comment Sep 21, 2019
@fossasia fossasia deleted a comment Sep 21, 2019
@fossasia fossasia deleted a comment Sep 21, 2019
Copy link
Member

@nikit19 nikit19 left a comment

Choose a reason for hiding this comment

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

Please resolve conflicts

//ExpandableView
implementation(Libs.expandablelayout)


Copy link
Member

Choose a reason for hiding this comment

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

extra

Copy link
Author

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]>
@fossasia fossasia deleted a comment Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Maintainence] Make separate dependencies file for maintaining all dependencies/libraries
5 participants