You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, it is not possible to write something like this to exclude the generated/ folder:
license {
exclude 'generated/**'
}
However, it doesn't make sense to add the license header to the generated source files. The only option right now is either put all generated sources into their own package and exclude that one (only works when your code generator supports this), or by excluding every file on its own, which requires you to know the name of that file.
Can we please have an option to exclude an entire source directory?
The text was updated successfully, but these errors were encountered:
Consider the following source set:
Right now, it is not possible to write something like this to exclude the
generated/
folder:However, it doesn't make sense to add the license header to the generated source files. The only option right now is either put all generated sources into their own package and exclude that one (only works when your code generator supports this), or by excluding every file on its own, which requires you to know the name of that file.
Can we please have an option to exclude an entire source directory?
The text was updated successfully, but these errors were encountered: