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

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -