Created
March 16, 2016 03:47
-
-
Save tamanugi/3dabb769de6abc4c8abd to your computer and use it in GitHub Desktop.
[Gradle] デフォルトのjarタスク実行時にjarに含めたくないファイルを除外する ref: http://qiita.com/tamanugi/items/cbcd50b245e2482e51e8
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
// jarに含めたくないファイルを除外 | |
jar{ | |
from sourceSets.main.output | |
exclude("*.dicon") | |
exclude("*.bat") | |
exclude("*.sh") | |
exclude("*.txt") | |
exclude("*.dtd") | |
exclude("*.xml") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment