can i include specific css file in resourceDirs
i am developing a "flex library project" now. and the source folder structure is:
- src/main/flex/com/mylib/...
- src/main/flex/defaults.css
- src/main/flex/assets/images/....
in build.gradle:
- srcDirs = ['/src/main/flex']
- resourceDirs=['/src/main/flex']
after execute gradle build, the generated swc file not only include defaults.css, but also include all .as or .mxml file or images.
but i just want swc include defaults.css, not source file or images, does gradlefx support "resourceDirs=['/src/main/flex/default.css']" ?
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
Support Staff 1 Posted by Yennick Trevels on 11 Aug, 2014 06:19 AM
No, GradleFx has nothing like that. But I would suggest to restructure the directories as follows:
That way you can just use the resourceDirs property
2 Posted by fixdh on 11 Aug, 2014 08:28 AM
thanks, i will try it.