Add automatic DivKit updates in Android BroPP

bd82e40638b329059660e851151e34e9c1e46560
This commit is contained in:
vyaivanove
2024-04-03 19:51:27 +03:00
parent b0651340e1
commit 55f70798e2
@@ -41,12 +41,7 @@ class Version private constructor(
}
val publicationType = PublicationType.fromString(project.findProperty("publicationType") as String?)
val regularVersion = project.findProperty("regularVersion") as String?
releaseLibraryVersion = if (regularVersion != null) {
"${baseVersionName}-regular-$regularVersion"
} else {
"${baseVersionName}${publicationType.getVersionSuffix()}"
}
releaseLibraryVersion = "${baseVersionName}${publicationType.getVersionSuffix()}"
}
companion object {