license-gradle-plugin
license-gradle-plugin copied to clipboard
Exclude File does't work as expceted
I want to exclude file, the structure of my directory is like -src ----flex ---------A.java ---------B.java -----dom ---------C.java
I want to exclude all files in flex directory and C.java in dom directory. I tried
excludes (["src/flex/*.java","src/dom/C.java"]), it doesn't work.
The only way to make this work is to write code like this `excludes (["/A.java","/B.java","**/C.java"])
I'd like to know whether this is a bug or not.
BTW, I am developing android using gradle plugin of android`
Can you post a bit more context on what your build structure looks like? Are src/flex and src/dom sourcesets, or is src the single sourceset?
src is the single sourceset, src/flex and src/dom are directories under src