fix aw parsing
All checks were successful
Publish to snapshot maven / build (push) Successful in 19s
All checks were successful
Publish to snapshot maven / build (push) Successful in 19s
This commit is contained in:
parent
27d428d70a
commit
2d2dc33e00
|
@ -62,7 +62,7 @@ object AccessWidener {
|
||||||
private fun readAW(project: Project): Stream<String> {
|
private fun readAW(project: Project): Stream<String> {
|
||||||
val awFile = getAWFile(project)
|
val awFile = getAWFile(project)
|
||||||
println("Found accesswidener in project: $awFile")
|
println("Found accesswidener in project: $awFile")
|
||||||
return awFile?.bufferedReader(StandardCharsets.UTF_8).takeIf { HEADER.test(readlnOrNull()) }?.lines()
|
return awFile?.bufferedReader(StandardCharsets.UTF_8).takeIf { HEADER.test(readlnOrNull()?: "") }?.lines()
|
||||||
?.map { it.replace("transitive-", "") }
|
?.map { it.replace("transitive-", "") }
|
||||||
?: Stream.empty()
|
?: Stream.empty()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue