tag:support.gradlefx.org,2011-05-23:/discussions/problems/2189-can-i-include-specific-css-file-in-resourcedirsGradleFx: Discussion 2014-08-11T08:28:17Ztag:support.gradlefx.org,2011-05-23:Comment/340911412014-08-11T06:03:29Z2014-08-11T06:03:30Zcan i include specific css file in resourceDirs<div><p>i am developing a "flex library project" now. and the source
folder structure is:<br>
- src/main/flex/com/mylib/... - src/main/flex/defaults.css -
src/main/flex/assets/images/....</p>
<p>in build.gradle:<br>
- srcDirs = ['/src/main/flex'] -
resourceDirs=['/src/main/flex']</p>
<p>after execute gradle build, the generated swc file not only
include defaults.css, but also include all .as or .mxml file or
images.<br>
but i just want swc include defaults.css, not source file or
images, does gradlefx support
"resourceDirs=['/src/main/flex/default.css']" ?</p></div>fixdhtag:support.gradlefx.org,2011-05-23:Comment/340911412014-08-11T06:19:00Z2014-08-11T06:19:00Zcan i include specific css file in resourceDirs<div><p>No, GradleFx has nothing like that. But I would suggest to
restructure the directories as follows:</p>
<pre>
<code>src/main/flex/com/mylib/
src/main/flex/assets/images
src/main/resources/defaults.css</code>
</pre>
<p>That way you can just use the resourceDirs property</p></div>Yennick Trevelstag:support.gradlefx.org,2011-05-23:Comment/340911412014-08-11T08:28:15Z2014-08-11T08:28:17Zcan i include specific css file in resourceDirs<div><p>thanks, i will try it.</p></div>fixdh