Skip to content

Instantly share code, notes, and snippets.

@tamanugi
Created March 16, 2016 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tamanugi/3dabb769de6abc4c8abd to your computer and use it in GitHub Desktop.
Save tamanugi/3dabb769de6abc4c8abd to your computer and use it in GitHub Desktop.
[Gradle] デフォルトのjarタスク実行時にjarに含めたくないファイルを除外する ref: http://qiita.com/tamanugi/items/cbcd50b245e2482e51e8
// 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