You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.2 KiB
Groovy
47 lines
1.2 KiB
Groovy
1 year ago
|
plugins {
|
||
|
id 'com.android.library'
|
||
|
id 'org.jetbrains.kotlin.android'
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
namespace 'network.loki.messenger.libsession_util'
|
||
|
compileSdkVersion androidCompileSdkVersion
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdkVersion androidMinimumSdkVersion
|
||
|
targetSdkVersion androidCompileSdkVersion
|
||
|
|
||
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
externalNativeBuild {
|
||
|
cmake {
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
}
|
||
|
}
|
||
|
externalNativeBuild {
|
||
|
cmake {
|
||
|
path "src/main/cpp/CMakeLists.txt"
|
||
|
version "3.22.1"
|
||
|
}
|
||
|
}
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
kotlinOptions {
|
||
|
jvmTarget = '1.8'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
testImplementation 'junit:junit:4.13.2'
|
||
|
implementation(project(":libsignal"))
|
||
|
implementation "com.google.protobuf:protobuf-java:$protobufVersion"
|
||
|
androidTestImplementation 'androidx.test.ext:junit:1.1.4'
|
||
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0'
|
||
|
}
|