vaadin / vaadin-gradle-plugin

Gradle plugin for Vaadin 14 applications. Takes care of front-end build, helps to configure repositories and to create various project and file templates.
Apache License 2.0
31 stars 9 forks source link

vaadinPrepareFrontend tryes to find jar that's name changed by developer #128

Open Sgt1503 opened 1 year ago

Sgt1503 commented 1 year ago

Desktop (please complete the following information):

Describe the bug I'm creating module by gradle and give to a jar name smth like "myProject-moduleName-{projectVersion}.jar" but task falls because expects that jar would be named as "moduleName.jar" If I create jar myself, build successful but not really sure that I will not catch some bugs in future.

To Reproduce Steps to reproduce the behavior:

  1. Create module and change artefact name with maven publish plugin
  2. Run Gradle task 'vaadinPrepareFrontend'
  3. See error ''

Expected behavior Success build

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Configuration on demand is an incubating feature.

Configure project :modules:codemaker Using buildScript credentials for publish...

Configure project : Repository User: developer Using buildScript credentials for publish...

Task :modules:codemaker:codemakerJar Task :modules:codemaker:compileJava NO-SOURCE Task :modules:codemaker:processResources UP-TO-DATE Task :modules:codemaker:classes UP-TO-DATE Task :modules:codemaker:jar Task :vaadinPrepareFrontend FAILED

FAILURE: Build failed with an exception.

BUILD FAILED in 3s 11 actionable tasks: 3 executed, 8 up-to-date