Skip to content

app-theme.generated.js gets generated inside resource dir instead of build dir when using themeFolder #114

@christoph-frick

Description

@christoph-frick

Desktop (please complete the following information):

  • OS: Linux 5.10.0-6-amd64 Debian 5.10.28-1
  • JDK version: 11.0.11 (Azul Systems, Inc. 11.0.11+9-LTS)
  • Gradle version: 6.8.3
  • Vaadin Plugin version: 0.14.6.0

Describe the bug/To Reproduce

Given a 14.6.+ project using a matching plugin version (e.g. christoph-frick/try-vaadin14-gradle) utilizing the new features to override themes using @Theme(themeFolder='app-theme') and providing some actual theme content in src/main/resources/META-INF/resources/themes/app-theme/ a generated file end up in: src/main/resources/META-INF/resources/themes/app-theme/app-theme.generated.js.

The file gets not deleted by running the vaadinClean task.

Note, that the project runs fine (both bootRun and the generated JAR).

Expected behavior
Compile time artifacts end up under the build folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked by upstreamSomething needs to be fixed first in the depending librariesbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions