Lisence
alabotski opened this issue · 2 comments
I try to build a gradle project and constantly get a license error
The same project with maven builds and works fine.
I had the same issue using vaadin.autoconfigure()
. The problem is that vaadin.autoconfigure()
adds platform()
as a compile dependency.
Platform contains everything, including commercial components sold by Vaadin Ltd. Platform also will include Core so you do not need to add it separately.
https://docs.devsoap.com/vaadin_flow_gradle_plugin_dependency_management/dependencies.html
To solve this I removed vaadin.autoconfigure()
from the build.gradle
and added the following dependencies:
dependencies {
compile vaadin.bom()
compile vaadin.core()
compile vaadin.materialTheme() // replace with "compile vaadin.lumoTheme()" if you want to use this one
compile vaadin.dependency('icons:3.0.2')
}
autoconfigure()
was changed to only add core()
as a dependency in 1.3.
Anyway, how you have done it is the correct way to do it manually 👍