-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
70 lines (58 loc) · 1.72 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 libs.androidx.appcompat
implementation libs.guava
implementation libs.prov
implementation libs.conscrypt.android
implementation libs.androidx.core.ktx.v1131
testImplementation libs.junit
androidTestImplementation libs.androidx.junit
androidTestImplementation libs.androidx.espresso.core
implementation libs.x25519
implementation libs.gson
implementation libs.hkdf
}