Repository navigation
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (44 loc) · 1.58 KB
/
Copy pathbuild.gradle
File metadata and controls
54 lines (44 loc) · 1.58 KB
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
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
ext {
pkgVersion = rootProject.ext.sdkVersions.ftSessionReplay
mavenGroupId = "com.cloudcare.ft.mobile.sdk.tracker.agent"
mavenArtifactId = "ft-session-replay-compose"
withSourceCode = false
}
android {
namespace 'com.ft.sdk.sessionreplay.compose'
compileSdk 34
defaultConfig {
minSdk 21
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
buildConfigField("String", "VERSION_NAME", "\"${pkgVersion}\"")
}
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 {
api project(":ft-session-replay")
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.8.22"
implementation 'androidx.compose.runtime:runtime:1.4.3'
implementation 'androidx.compose.ui:ui:1.4.3'
implementation 'androidx.compose.ui:ui-text:1.4.3'
implementation 'androidx.compose.foundation:foundation:1.4.3'
implementation 'androidx.compose.material:material:1.4.3'
implementation 'androidx.compose.animation:animation-core:1.4.3'
implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.lifecycle:lifecycle-common:2.6.2'
}
apply from: '../maven_aar_publish.gradle'