mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Introduce MIN_SDK_FOSS and MIN_SDK_ENTERPRISE const.
This commit is contained in:
committed by
Benoit Marty
parent
c54608da44
commit
7f449fef81
@@ -42,7 +42,9 @@ object Versions {
|
|||||||
const val TARGET_SDK = 35
|
const val TARGET_SDK = 35
|
||||||
|
|
||||||
// When updating the `minSdk`, make sure to update the value of `minSdkVersion` in the file `tools/release/release.sh`
|
// When updating the `minSdk`, make sure to update the value of `minSdkVersion` in the file `tools/release/release.sh`
|
||||||
val minSdk = if (isEnterpriseBuild) 26 else 24
|
private const val MIN_SDK_FOSS = 24
|
||||||
|
private const val MIN_SDK_ENTERPRISE = 26
|
||||||
|
val minSdk = if (isEnterpriseBuild) MIN_SDK_ENTERPRISE else MIN_SDK_FOSS
|
||||||
|
|
||||||
private const val JAVA_VERSION = 21
|
private const val JAVA_VERSION = 21
|
||||||
val javaVersion: JavaVersion = JavaVersion.toVersion(JAVA_VERSION)
|
val javaVersion: JavaVersion = JavaVersion.toVersion(JAVA_VERSION)
|
||||||
|
|||||||
Reference in New Issue
Block a user