Issue
I have a Kotlin application with kotlin-dsl gradle files. I'd like to set mainClassName to be able to use com.github.johnrengelman.shadow.
I'd like use the application for this and I gradle cannot resolve it even if I have application plugin applied.
Kotlin version: 1.6.10
After a lot of research it looks like I'm the only one who doesn't have application in the gradle file.
Solution
you need to add application to your plugins list like
plugins {
...
application
}
Answered By - Ivo Beckers

0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.