Kapt3: Set javac codepage to UTF-8 (KT-15232)
This commit is contained in:
committed by
Yan Zhulanow
parent
e70c172deb
commit
91fcb15f3e
@@ -51,6 +51,7 @@ fun KaptContext.doAnnotationProcessing(
|
||||
put(Option.PROCESSORPATH, annotationProcessingClasspath.joinToString(File.pathSeparator) { it.canonicalPath })
|
||||
put(Option.S, sourcesOutputDir.canonicalPath)
|
||||
put(Option.D, classesOutputDir.canonicalPath)
|
||||
put(Option.ENCODING, "UTF-8")
|
||||
}
|
||||
|
||||
val fileManager = context.get(JavaFileManager::class.java) as JavacFileManager
|
||||
|
||||
Reference in New Issue
Block a user