1

I have a task "vaadinCompileWidgetset" which won't work if javax-validation-1.1 is on classpath (it depends on javax-validation-1.0). The problem is, my build depends on 1.1 so I can't exclude the artifact from the build.

Is it possible to exclude the dependency or force 1.0 on the vaadinCompileWidgetset task only?

acsadam0404
  • 2,711
  • 1
  • 26
  • 36
  • is it this task? https://github.com/johndevs/gradle-vaadin-plugin/blob/d3f31598e1b9ab0fe434785dea2842e54990a02b/src/main/groovy/fi/jasoft/plugin/tasks/CompileWidgetsetTask.groovy – AdamSkywalker Jun 12 '15 at 13:07
  • @AdamSkywalker correct, and I should also not, this solution: https://github.com/johndevs/gradle-vaadin-plugin/issues/162 didn't work for me. – acsadam0404 Jun 12 '15 at 13:11
  • Did you try to set correct jars to classpath through this project variable ? https://github.com/johndevs/gradle-vaadin-plugin/blob/d3f31598e1b9ab0fe434785dea2842e54990a02b/src/main/groovy/fi/jasoft/plugin/tasks/CompileWidgetsetTask.groovy#L119 – AdamSkywalker Jun 12 '15 at 13:17

0 Answers0