Skip to content

Commit

Permalink
Disable Compiler version check (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
igordmn authored and Oleksandr Karpovich committed Nov 7, 2022
1 parent 6f23268 commit c781211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildSrc/public/src/main/kotlin/androidx/build/Version.kt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ data class Version(
private const val serialVersionUID = 345435634563L

private val VERSION_FILE_REGEX = Pattern.compile("^(res-)?(.*).txt$")
private val VERSION_REGEX = Pattern.compile("^(\\d+)\\.(\\d+)\\.(\\d+)(-.+)?$")
private val VERSION_REGEX = Pattern.compile("^(\\d+)\\.(\\d+)\\.(\\d+)((?:\\.\\d+)?(?:-.+)?)?$")

private fun checkedMatcher(versionString: String): Matcher {
val matcher = VERSION_REGEX.matcher(versionString)
Expand Down

0 comments on commit c781211

Please sign in to comment.