Can't add custom *AssetFile.groovy in my project. It works with bootRun but doesn't work with assetCompile
According to doc I created file src/main/resources/META-INF/asset-pipeline/asset.specs
Simply adding a list file META-INF/asset-pipeline/asset.specs to the classpath will automatically get scanned.
As I understand it should be automatically added to classpath. I tried to add asset.specs to classpath manually, but nothing happened.
It seems that asset.specs doesn't added to classpath when run assetCompile.
When added breakpoint at asset-pipeline-core-3.0.11-sources.jar!/asset/pipeline/AssetSpecLoader.groovy:56 file asset.specs from project doesn't persists.
Can't add custom
*AssetFile.groovy
in my project. It works withbootRun
but doesn't work withassetCompile
According to doc I created file
src/main/resources/META-INF/asset-pipeline/asset.specs
As I understand it should be automatically added to classpath. I tried to add
asset.specs
to classpath manually, but nothing happened.It seems that asset.specs doesn't added to classpath when run
assetCompile
.When added breakpoint at
asset-pipeline-core-3.0.11-sources.jar!/asset/pipeline/AssetSpecLoader.groovy:56
fileasset.specs
from project doesn't persists.Demo project is here: https://github.com/webmustang/grails-demo/tree/asset-issue-demo
Changes from clean grails 3.3.11 are here: https://github.com/webmustang/grails-demo/pull/1/files
How can I fix this?
Thanks.