-
-
Save strobe/2144b8ff25ef7023f86211b6f886f796 to your computer and use it in GitHub Desktop.
sbt exclude from resoures
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
excludeFilter in unmanagedResources := "*.xml" | |
excludeFilter in unmanagedResources := { | |
new SimpleFileFilter(_.getCanonicalPath endsWith "logback.xml") | |
} | |
excludeFilter in unmanagedResources := { | |
val public = ((resourceDirectory in Compile).value / "com" / "example" / "export" / "dev").getCanonicalPath | |
new SimpleFileFilter(_.getCanonicalPath startsWith public) | |
} | |
excludeFilter in unmanagedSources := HiddenFileFilter || "*impl* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment