Skip to content

No value has been specified for property mainClassName  #336

@nogo

Description

@nogo

Please check the (User Guide)[http://imperceptiblethoughts.com/shadow] before submitting "how do I do 'x'?" questions!

Shadow Version

2.0.1

Gradle Version

4.3

Expected Behavior

work as in 4.2.1

Actual Behavior

:shadowJar
A problem was found with the configuration of task ':shadowJar'. Registering invalid inputs and outputs via TaskInputs and TaskOutputs methods has been deprecated and is scheduled to be removed in Gradle 5.0.

  • No value has been specified for property 'mainClassName'.

Build script

Extract of my build script

apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'com.github.johnrengelman.shadow'

mainClassName = 'com.package.to.Class'

shadowJar {
baseName = 'launcher'
classifier = null
version = null
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions