-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
70 lines (58 loc) · 1.91 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
plugins {
id 'com.android.library'
// id 'maven-publish'
id 'signing'
id 'org.jetbrains.kotlin.android'
id "com.vanniktech.maven.publish" version "0.29.0"
}
android {
namespace 'com.afkanerd.smswithoutborders.libsignal_doubleratchet'
compileSdk 35
defaultConfig {
minSdk 24
targetSdk 35
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aarMetadata {
minCompileSdk = 24
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
nightly {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
testFixtures {
enable = true
}
kotlinOptions {
jvmTarget = '17'
}
}
import com.vanniktech.maven.publish.AndroidSingleVariantLibrary
mavenPublishing {
// the first parameter represennts which variant is published
// the second whether to publish a sources jar
// the third whether to publish a javadoc jar
configure(new AndroidSingleVariantLibrary("release", true, true))
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar', "*.aar"])
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'com.google.guava:guava:33.0.0-jre'
implementation 'com.madgag.spongycastle:prov:1.58.0.0'
implementation 'org.conscrypt:conscrypt-android:2.2.1'
implementation 'androidx.core:core-ktx:1.13.1'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
implementation 'com.github.netricecake:x25519:2.0'
implementation 'com.google.code.gson:gson:2.11.0'
implementation 'at.favre.lib:hkdf:2.0.0'
}