devsoap / ds-gradle-vaadin

Gradle plugin for building Vaadin Flow 10/11/12/13/14/15 apps
https://devsoap.com/gradle-vaadin-flow-plugin
Other
36 stars 13 forks source link

vaadin.productionMode must be set after devsoap credentials or compatibility mode are set #313

Closed johndevs closed 3 years ago

johndevs commented 4 years ago

Desktop (please complete the following information):

To Reproduce

Using this fails:

vaadin {    
    productionMode = true
}
devsoap {
    email = ...
    key =...
}

While this works:

devsoap {
    email = ...
    key =...
}
vaadin {    
    productionMode = true
}
johndevs commented 4 years ago

The same is if you set production mode before compatibility mode and you are unlicensed.

So using this will fail:

vaadin {    
    productionMode = true
    compatibilityMode = true
}

While this will work

vaadin {    
    compatibilityMode = true
    productionMode = true
}