Fix line endings ruined after applying line filter
Line filtering causes output file have platform-specific line endings. Apply another filter to fix them to LFs.
This commit is contained in:
@@ -192,6 +192,7 @@ val relocateCoreSources by task<Copy> {
|
||||
filter { line ->
|
||||
line.replace("org.jetbrains.kotlin", "kotlin.reflect.jvm.internal.impl")
|
||||
}
|
||||
filter(org.apache.tools.ant.filters.FixCrLfFilter::class, "eol" to org.apache.tools.ant.filters.FixCrLfFilter.CrLf.newInstance("lf"))
|
||||
|
||||
outputs.cacheIf { true }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user