Skip to content

Conversation

@Jaehwa-Noh
Copy link
Contributor

@Jaehwa-Noh Jaehwa-Noh commented Dec 14, 2024

What I have done and why
Followed Kotlin DSL without type-safe accessors documentation, and reduced likely occurs typo error by replacing string to a const variable.
https://docs.gradle.org/current/userguide/kotlin_dsl.html#ex-configuring-plugins-without-type-safe-accessors

Copy link
Collaborator

@dturner dturner left a comment

Choose a reason for hiding this comment

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

I'm more in favour of this format:

"implementation"(libs.findLibrary("hilt.core").get())

Why?

@Jaehwa-Noh
Copy link
Contributor Author

@dturner Okay, I will accept your suggestion. Removing the string file and replacing it with a plain String.

Change-Id: I17972f94277364cd588f40d422370b21e40af0e9
Change-Id: I3f4ead0be88ed460de007dae7b53c4d2f6c2249b
@Jaehwa-Noh
Copy link
Contributor Author

@dturner I've restored to the plain string text. Kindly check it.

@dturner dturner merged commit f66fd84 into android:main Dec 19, 2024
5 checks passed
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.

2 participants