File tree Expand file tree Collapse file tree 5 files changed +248
-155
lines changed
cryptography_flutter/android Expand file tree Collapse file tree 5 files changed +248
-155
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,15 @@ group 'dev.dint.cryptography_flutter'
22version ' 1.0-SNAPSHOT'
33
44buildscript {
5- ext. kotlin_version = ' 1.7.10'
5+ ext. kotlin_version = " 1.7.10"
66 repositories {
77 google()
88 mavenCentral()
99 }
1010
1111 dependencies {
12- classpath ' com.android.tools.build:gradle:7.2.0 '
13- classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
12+ classpath( " com.android.tools.build:gradle:8.5.0 " )
13+ classpath( " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version " )
1414 }
1515}
1616
@@ -25,8 +25,10 @@ apply plugin: 'com.android.library'
2525apply plugin : ' kotlin-android'
2626
2727android {
28- compileSdkVersion 31
29-
28+ if (project. android. hasProperty(" namespace" )) {
29+ namespace = " dev.dint.cryptography_flutter"
30+ }
31+ compileSdk 34
3032 compileOptions {
3133 sourceCompatibility JavaVersion . VERSION_1_8
3234 targetCompatibility JavaVersion . VERSION_1_8
@@ -43,9 +45,9 @@ android {
4345 defaultConfig {
4446 minSdkVersion 21
4547 }
46- }
4748
48- dependencies {
49- implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
50- implementation " androidx.security:security-crypto:1.1.0-alpha05"
51- }
49+ dependencies {
50+ testImplementation(" org.jetbrains.kotlin:kotlin-test" )
51+ testImplementation(" org.mockito:mockito-core:5.0.0" )
52+ }
53+ }
Original file line number Diff line number Diff line change 1- org.gradle.jvmargs =-Xmx1536M
2- android.enableR8 =true
1+ org.gradle.jvmargs =-Xmx4G
32android.useAndroidX =true
43android.enableJetifier =true
You can’t perform that action at this time.
0 commit comments