Skip to content

Commit

Permalink
자바 컴파일러가 소스 파일 내 한글을 잘못된 인코딩으로 인식하는 문제 해결
Browse files Browse the repository at this point in the history
Android Studio 내에서 빌드할 때만 발생하는 이상한 문제임. PowerShell, Eclipse, VSCode로 빌드하면 전혀 생기지 않음.
  • Loading branch information
bangjunyoung committed Aug 21, 2019
1 parent 7557c0c commit 99525c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ javadoc {
links 'https://docs.oracle.com/en/java/javase/12/docs/api/'
}
}

tasks.withType(JavaCompile) {
options.encoding 'utf-8'
}

0 comments on commit 99525c6

Please sign in to comment.