Add a module for the Matrix SDK with the aar of the Rust SDK

This commit is contained in:
Benoit Marty 2022-10-11 12:21:46 +02:00
parent 36f2b4dabf
commit df315ecea6
5 changed files with 79 additions and 1 deletions

View file

@ -0,0 +1,33 @@
plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
}
android {
namespace 'io.element.android.x.sdk.matrix'
compileSdk 33
defaultConfig {
minSdk 29
targetSdk 33
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
}
dependencies {
implementation(name: 'sdk-android-release', ext: 'aar')
implementation "net.java.dev.jna:jna:5.10.0@aar"
}