mirror of
https://github.com/ProtonMail/android-mail.git
synced 2026-05-15 09:50:40 +00:00
Set ndkVersion explicitly
NOJIRA
This commit is contained in:
@@ -2,6 +2,7 @@ applicationId=ch.protonmail.android
|
||||
compileSdk=35
|
||||
minSdk=29
|
||||
targetSdk=35
|
||||
ndkVersion=28.1.13356709
|
||||
testInstrumentationRunner=ch.protonmail.android.uitest.HiltTestRunner
|
||||
versionCode=1
|
||||
versionName=7.0.15
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
* along with Proton Mail. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import java.util.Properties
|
||||
import com.android.build.api.dsl.VariantDimension
|
||||
import configuration.extensions.protonEnvironment
|
||||
|
||||
@@ -54,6 +53,7 @@ android {
|
||||
applicationId = AppConfiguration.applicationId.get()
|
||||
minSdk = AppConfiguration.minSdk.get()
|
||||
targetSdk = AppConfiguration.targetSdk.get()
|
||||
ndkVersion = AppConfiguration.ndkVersion.get()
|
||||
versionCode = AppConfiguration.versionCode.get()
|
||||
versionName = AppConfiguration.versionName.get()
|
||||
|
||||
|
||||
+2
@@ -37,6 +37,7 @@ abstract class ConfigExtension(project: Project) {
|
||||
abstract val compileSdk: Property<Int>
|
||||
abstract val minSdk: Property<Int>
|
||||
abstract val targetSdk: Property<Int>
|
||||
abstract val ndkVersion: Property<String>
|
||||
abstract val testInstrumentationRunner: Property<String>
|
||||
abstract val versionCode: Property<Int>
|
||||
abstract val versionName: Property<String>
|
||||
@@ -52,6 +53,7 @@ abstract class ConfigExtension(project: Project) {
|
||||
compileSdk.convention(properties.getProperty("compileSdk").toInt())
|
||||
minSdk.convention(properties.getProperty("minSdk").toInt())
|
||||
targetSdk.convention(properties.getProperty("targetSdk").toInt())
|
||||
ndkVersion.convention(properties.getProperty("ndkVersion"))
|
||||
testInstrumentationRunner.convention(properties.getProperty("testInstrumentationRunner"))
|
||||
versionCode.convention(properties.getProperty("versionCode").toInt())
|
||||
versionName.convention(properties.getProperty("versionName"))
|
||||
|
||||
Reference in New Issue
Block a user