DEV Community

Query Filter
Query Filter

Posted on

bridge15

// 1. Manually apply the application plugin structure without its behavior
if (!project.plugins.hasPlugin('application')) {
    apply plugin: 'application'
}

// 2. Explicitly set the value that Shadow is crying about
application {
    mainClass.set("comet.agent.UniversalAttacher")
}

// 3. Define the legacy property just in case
project.ext.mainClassName = "comet.agent.UniversalAttacher"
Enter fullscreen mode Exit fullscreen mode

Top comments (0)