-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Hotfix broken build with a test #1545
base: main
Are you sure you want to change the base?
Conversation
Change-Id: I07f355351e6d6afba09e8d4af512a8a087121e93
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.
Imho we could add a new line to libs.versions.toml to maintain project consistence.
in libs.version.toml:
[libraries]
//another libs...
kotlin-test = { group = "org.jetbrains.kotlin", name = "kotlin-test", version.ref = "kotlin" }
then:
dependencies {
...
testImplementation(libs.kotlin.test)
...
}
What do you think?
@machado001 From this documentation.
We use Kotlin DSL and it gives us kotlin shorthand kotlin("test") is more shorten and clear than version catalog, and it reduces that what we have to manage a dependency as we delegate it to kotlin. I found same thing on Groovy also can use shorthand.
|
Hi @Jaehwa-Noh, thank you for your reply. I agree that using New developers can start contributing to the project by looking at the version catalog file to get a general overview of the libraries and plugins used in the project. I checked another Thus, another advantage is that, from the version catalog, developers can simply Ctrl + click (or Ctrl + B) to check which modules use the dependency. |
@machado001 Yes, you have the reason. Simple way is you can found all usage in search all files Ctrl + Shift + F (Find all files). |
I would prefer the explicit declaration of |
Change-Id: If411597e83749126093fed5eb2e0c28ed60f9cb8
Change-Id: Ie56a69d242aef23171fdef9f39676228026167ec
What I have done and why
Fix #1544