question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'val Project.libs: LibrariesForLibs' can't be called in this context by implicit receiver. Use the explicit one if necessary in `build.gradle.kts(DroidKaigi2022) `

See original GitHub issue

Describe the bug There is an error in build.gradle.kts (DroidKaigi2022).

To Reproduce build.gradle.kts(Droidkaigi2022) open

Expected behavior Suppress Warnings https://youtrack.jetbrains.com/issue/KTIJ-19369

Screenshots スクリーンショット 2022-09-14 9 29 28

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
takahiromcommented, Sep 15, 2022

Thanks! Assigned 👍

1reaction
hiraokcommented, Sep 14, 2022

I agree with you! 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gradle 7.2 Version Catalog Plugins gives an IDE error "'val ...
'val Project.libs: LibrariesForLibs' can't be called in this context by implicit receiver. Use the explicit one if necessary.
Read more >
KTIJ-19369 - YouTrack - JetBrains
'val Project.libs: LibrariesForLibs' can't be called in this context by implicit receiver. Use the explicit one if necessary. Attachments 8.
Read more >
Why can't I use val inside Plugins {}? - Gradle Forums
Use the explicit one if necessary ... plugins { // Error: 'val kotlinVersion: String' can't be called in this context by implicit receiver....
Read more >
kotlin - Why can't I use val inside Plugins {}? - Stack Overflow
I use Kotlin's standard library as a dependency too and I only want to have to specify the version in one place but...
Read more >
Why can't I use val inside Plugins {}? : r/Kotlin - Reddit
val kotlinVersion = "1.3.72" plugins { // Error: 'val kotlinVersion: String' can't be called in this context by implicit receiver. Use the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found