Kotlin DSL Gradle Scripts Maven Authentication

Answered

I'm experiencing an issue on macOS Catalina 10.15.7 that I don't see on my Linux laptop. I'm using Gradle Wrapper (6.7.1) so Gradle version is the same on both laptops, however on my Macbook Pro IntelliJ shows an error on the authentication{}. Gradle seems to work just fine when executed, but it's a bit irritating that it's showing an error in the script editor. Again this does not happen on Linux in IntelliJ.

The IDE error information gives the following text: "Cannot access class 'org.gradle.authentication.Authentication'. Check your module classpath for missing or conflicting dependencies"

Upload id: 2020_12_15_3eBVRAYCngfBuG4W (file: Intellij Issue.png)

0
4 comments

Does it help to delete contents from the IDEA cache directories manually (Caches location)?

Try also re-import Gradle project after renaming .idea directory in project root. 

0

I have deleted the .idea directory in the project root, I have tried pulling from source control and starting from scratch, I have also executed the cleanIdea and idea gradle tasks.

I did delete everything in ~/Library/Logs/JetBrains/IntelliJIdea2020.3 and that had no effect after reloading the project.

 

Settings confirms the lates kotlin plugin is installed, version: 203-1.4.10-release-IJ5981.133

0

Is it possible to share a sample project where this could be reproduced? 

0

I'll create a sample project and share.

0

Please sign in to leave a comment.