ok-gradle icon indicating copy to clipboard operation
ok-gradle copied to clipboard

doesn't working correclty with build.gradle.kts

Open KiranMohan opened this issue 4 years ago • 2 comments

The plugin does work while searching for dependency. But adding a selected dependency to build.gradle.kts does not work.

"Add Dependency" shows a "select module" dialog box but it is disabled and we cannot select anything from it. "Copy dependency" copies the groovy syntax to the clipboard in stead of the expected Kotllin syntax.

KiranMohan avatar May 26 '21 08:05 KiranMohan

Hey @KiranMohan - thank you for reporting.

"Add dependency" issue - could you please share a sample project in which it does not display any module? I tested it on my private projects recently and it was working fin

"Copy dependency" - perhaps it could be improved in a way in which it would copy Kotlin syntax when only kts files are detected and fallback to Groovy otherwise.

scana avatar May 26 '21 09:05 scana

Hello @scana

Check on this project for the "Add Dependency" issue. https://github.com/KiranMohan/kotlin-study

I was trying to add Logback to the dependency.

KiranMohan avatar May 26 '21 14:05 KiranMohan