mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-22 05:02:17 +00:00
Use more correct UTF-8 directive in build.gradle
This commit is contained in:
1 parent
12cdc010d8
commit
83a5bb2061
1 file changed
+5
-2
+5
-2
@@ -118,8 +118,11 @@ task devJar(type: Jar) {
|
||||
idea.module.inheritOutputDirs = true
|
||||
|
||||
// Fixes issues with µ character in source files
|
||||
// From http://mrhaki.blogspot.co.uk/2012/06/gradle-goodness-set-java-compiler.html
|
||||
compileJava.options.encoding = 'UTF-8'
|
||||
// From https://discuss.gradle.org/t/special-characters-in-java-string-literals-arent-interpreted-correctly/4665
|
||||
tasks.withType(JavaCompile)
|
||||
{
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives sourceJar, devJar
|
||||
|
||||
Reference in new issue
Block a user