Skip to content

Commit

Permalink
Merge pull request #796 from Bilue404/fix_build_err
Browse files Browse the repository at this point in the history
fix matrix-android build err on AGP 7.x.x
  • Loading branch information
Yves0 authored Mar 2, 2023
2 parents 0ee8723 + 1b8e522 commit ae45599
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class MatrixTraceTransform(
}

private fun toOutputFile(outputDir: File, inputDir: File, inputFile: File): File {
return File(outputDir, FileUtils.relativePossiblyNonExistingPath(inputFile, inputDir))
return File(outputDir, inputFile.toRelativeString(inputDir))
}

private fun configure(transformInvocation: TransformInvocation): Configuration {
Expand Down

0 comments on commit ae45599

Please sign in to comment.