ant駆逐中に迷ったのでメモ
// jarに含めたくないファイルを除外
jar{
from sourceSets.main.output
exclude("*.dicon")
exclude("*.bat")
exclude("*.sh")
exclude("*.txt")
exclude("*.dtd")
exclude("*.xml")
}
既存のタスクを簡単に拡張できるってのは素晴らしいですね。
More than 5 years have passed since last update.
ant駆逐中に迷ったのでメモ
// jarに含めたくないファイルを除外
jar{
from sourceSets.main.output
exclude("*.dicon")
exclude("*.bat")
exclude("*.sh")
exclude("*.txt")
exclude("*.dtd")
exclude("*.xml")
}
既存のタスクを簡単に拡張できるってのは素晴らしいですね。
Register as a new user and use Qiita more conveniently