LoginSignup
8
7

More than 5 years have passed since last update.

gradleで文字コードをutf8に統一

Last updated at Posted at 2014-10-22
  def defaultEncoding = 'UTF-8'
  tasks.withType(AbstractCompile) each { it.options.encoding = defaultEncoding }

  compileTestJava {
      options.encoding = defaultEncoding
  }
8
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
7