build.gradle:
...
configurations {
dartLibrary
}
dependencies {
// Dart - web has a lot of subdirs... (packages and so forth)
dartLibrary fileTree(dir: 'src/main/dart/web')
}
war {
into('/') {
from configurations.dartLibrary
}
}
This copies all the files form src/main/dart/web into my war but the problem is that it "flattens" the structure. Means all files from web and its subdirs are merged into the / of my war.
Pls. help :-)