ant駆逐中に迷ったのでメモ
// jarに含めたくないファイルを除外
jar{
from sourceSets.main.output
exclude("*.dicon")
exclude("*.bat")
exclude("*.sh")
exclude("*.txt")
exclude("*.dtd")
exclude("*.xml")
}
既存のタスクを簡単に拡張できるってのは素晴らしいですね。
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
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
Go to list of users who liked