-
Notifications
You must be signed in to change notification settings - Fork 279
Expand file tree
/
Copy pathbuild.gradle
More file actions
61 lines (49 loc) · 1.46 KB
/
build.gradle
File metadata and controls
61 lines (49 loc) · 1.46 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
55
56
57
58
59
60
61
group 'com.amazonaws.amplify.amplify_secure_storage'
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '2.3.20'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.12.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
}
}
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
compileSdk 36
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '17'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
minSdkVersion 24
}
testOptions.unitTests.includeAndroidResources = true
namespace 'com.amazonaws.amplify.amplify_secure_storage'
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.security:security-crypto:1.1.0'
// TODO(Jordan-Nelson): remove once security-crypto:1.1.0 is stable.
// See https://github.com/aws-amplify/amplify-flutter/issues/2640
implementation 'com.google.crypto.tink:tink-android:[1.8.0, )'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.robolectric:robolectric:4.16.1'
testImplementation 'androidx.test:core-ktx:1.7.0'
}