mainClass

@get:Optional
@get:Input
open val mainClass: Property<String>

Main class attribute to add to manifest.

This property will be used as a fallback if there is no explicit Main-Class attribute set for the ShadowJar task or the main Jar task.

Defaults to null.