def defaultEncoding = 'UTF-8'
tasks.withType(AbstractCompile) each { it.options.encoding = defaultEncoding }
compileTestJava {
options.encoding = defaultEncoding
}
More than 5 years have passed since last update.
gradleで文字コードをutf8に統一
Last updated at Posted at 2014-10-22
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme