2020-11-25 22:46:52 +00:00
|
|
|
plugins {
|
|
|
|
id 'com.android.library'
|
|
|
|
id 'kotlin-android'
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 30
|
2021-01-18 03:58:11 +00:00
|
|
|
buildToolsVersion '29.0.3'
|
2020-11-25 22:46:52 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 21
|
|
|
|
targetSdkVersion 30
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
2020-12-02 05:36:40 +00:00
|
|
|
// Local:
|
|
|
|
implementation project(":libsignal")
|
|
|
|
// Remote:
|
2021-01-08 00:12:39 +00:00
|
|
|
implementation 'org.greenrobot:eventbus:3.0.0'
|
2020-12-03 03:20:49 +00:00
|
|
|
implementation "com.goterl.lazycode:lazysodium-android:4.2.0@aar"
|
2020-11-25 22:46:52 +00:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
|
|
|
|
implementation 'androidx.core:core-ktx:1.3.2'
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
|
|
implementation 'com.google.android.material:material:1.2.1'
|
2020-11-27 04:56:16 +00:00
|
|
|
implementation "com.google.protobuf:protobuf-java:$protobufVersion"
|
2020-11-25 22:46:52 +00:00
|
|
|
testImplementation 'junit:junit:4.+'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
2021-01-08 00:12:39 +00:00
|
|
|
implementation 'com.github.bumptech.glide:glide:4.11.0'
|
|
|
|
implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
|
|
|
|
implementation 'com.annimon:stream:1.1.8'
|
|
|
|
implementation 'com.makeramen:roundedimageview:2.1.0'
|
2021-01-22 02:30:00 +00:00
|
|
|
implementation 'com.esotericsoftware:kryo:4.0.1'
|
2020-11-27 04:56:16 +00:00
|
|
|
|
2020-12-02 05:36:40 +00:00
|
|
|
// from libsignal:
|
|
|
|
implementation "com.google.protobuf:protobuf-java:$protobufVersion"
|
|
|
|
implementation "com.googlecode.libphonenumber:libphonenumber:8.10.7"
|
|
|
|
implementation "com.fasterxml.jackson.core:jackson-databind:$jacksonDatabindVersion"
|
|
|
|
|
|
|
|
implementation "org.whispersystems:curve25519-java:$curve25519Version"
|
|
|
|
implementation "com.squareup.okhttp3:okhttp:$okhttpVersion"
|
|
|
|
implementation "org.threeten:threetenbp:1.3.6"
|
|
|
|
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
|
|
|
|
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9"
|
|
|
|
implementation "nl.komponents.kovenant:kovenant:$kovenantVersion"
|
|
|
|
|
|
|
|
testImplementation "junit:junit:3.8.2"
|
|
|
|
testImplementation "org.assertj:assertj-core:1.7.1"
|
|
|
|
testImplementation "org.conscrypt:conscrypt-openjdk-uber:2.0.0"
|
2020-12-02 05:40:35 +00:00
|
|
|
|
2021-01-05 03:17:42 +00:00
|
|
|
implementation 'org.greenrobot:eventbus:3.0.0'
|
|
|
|
|
2020-11-25 22:46:52 +00:00
|
|
|
}
|