@@ -7,9 +7,10 @@ def getNpmVersion() {
77}
88
99ext {
10- junitVersion = project. hasProperty(' junitVersion' ) ? rootProject. ext. junitVersion : ' 4.13.2'
11- androidxJunitVersion = project. hasProperty(' androidxJunitVersion' ) ? rootProject. ext. androidxJunitVersion : ' 1.1.3'
12- androidxEspressoCoreVersion = project. hasProperty(' androidxEspressoCoreVersion' ) ? rootProject. ext. androidxEspressoCoreVersion : ' 3.4.0'
10+ junitVersion = project. hasProperty(' junitVersion' ) ? rootProject. ext. junitVersion : ' 4.13.2'
11+ androidxJunitVersion = project. hasProperty(' androidxJunitVersion' ) ? rootProject. ext. androidxJunitVersion : ' 1.1.5'
12+ androidxAppCompatVersion = project. hasProperty(' androidxAppCompatVersion' ) ? rootProject. ext. androidxAppCompatVersion : ' 1.6.1'
13+ androidxEspressoCoreVersion = project. hasProperty(' androidxEspressoCoreVersion' ) ? rootProject. ext. androidxEspressoCoreVersion : ' 3.5.1'
1314}
1415
1516buildscript {
@@ -18,17 +19,21 @@ buildscript {
1819 mavenCentral()
1920 }
2021 dependencies {
21- classpath ' com.android.tools.build:gradle:7.2.2 '
22+ classpath ' com.android.tools.build:gradle:8.0.0 '
2223 }
2324}
2425
2526apply plugin : ' com.android.library'
2627
2728android {
28- compileSdkVersion project. hasProperty(' compileSdkVersion' ) ? rootProject. ext. compileSdkVersion : 32
29+ namespace " co.boundstate.capacitorbranchdeeplinks"
30+ compileSdkVersion project. hasProperty(' compileSdkVersion' ) ? rootProject. ext. compileSdkVersion : 33
31+ buildFeatures {
32+ buildConfig = true
33+ }
2934 defaultConfig {
3035 minSdkVersion project. hasProperty(' minSdkVersion' ) ? rootProject. ext. minSdkVersion : 22
31- targetSdkVersion project. hasProperty(' targetSdkVersion' ) ? rootProject. ext. targetSdkVersion : 32
36+ targetSdkVersion project. hasProperty(' targetSdkVersion' ) ? rootProject. ext. targetSdkVersion : 33
3237 versionCode 1
3338 versionName " 1.0"
3439 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -40,6 +45,10 @@ android {
4045 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
4146 }
4247 }
48+ compileOptions {
49+ sourceCompatibility JavaVersion . VERSION_17
50+ targetCompatibility JavaVersion . VERSION_17
51+ }
4352 lintOptions {
4453 abortOnError false
4554 }
@@ -57,7 +66,7 @@ dependencies {
5766 implementation project(' :capacitor-android' )
5867 implementation ' androidx.annotation:annotation:1.4.0'
5968 implementation ' androidx.appcompat:appcompat:1.5.0'
60- api ' io.branch.sdk.android:library:5.2.3 '
69+ api ' io.branch.sdk.android:library:5.6.1 '
6170 testImplementation " junit:junit:$junitVersion "
6271 androidTestImplementation " androidx.test.ext:junit:$androidxJunitVersion "
6372 androidTestImplementation " androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion "
0 commit comments