(lines, new_version)
| 676 | |
| 677 | |
| 678 | def _update_android_tests_dependency_version(lines, new_version): |
| 679 | for index, line in enumerate(lines): |
| 680 | lines[index] = re.sub( |
| 681 | r"(org\.apache\.fory:fory-(?:core|annotation-processor):)[^'`)\s]+", |
| 682 | r"\g<1>" + new_version, |
| 683 | line, |
| 684 | ) |
| 685 | return lines |
| 686 | |
| 687 | |
| 688 | def _update_scala_version(lines, v): |