Gradle "flattens" directory in war -
build.gradle:
...
configurations { dartlibrary } dependencies { // dart - web has lot of subdirs... (packages , forth) dartlibrary filetree(dir: 'src/main/dart/web') } war { into('/') { configurations.dartlibrary } } this copies files form src/main/dart/web war problem "flattens" structure. means files web , subdirs merged / of war.
pls. :-)
configurations flat filecollections. need remove indirection (and can leave out call filetree):
war { "src/main/dart/web" }
Comments
Post a Comment