[Android] Add and build olm module

Switch to famedly flutter images

Took 4 minutes
This commit is contained in:
Marcel 2020-02-19 17:23:03 +01:00
commit 3bb22f1c59
5 changed files with 24 additions and 7 deletions

View file

@ -49,6 +49,11 @@ android {
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
externalNativeBuild {
cmake {
arguments "-DOLM_TESTS=NO"
}
}
}
signingConfigs {
@ -73,6 +78,15 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
externalNativeBuild {
// Encapsulates your CMake build configurations.
cmake {
// Provides a relative path to your CMake build script.
path "../../ios/olm/CMakeLists.txt"
version "3.10.2"
}
}
}
flutter {