Skip to content

Commit 22bfc9c

Browse files
Update SDK configs (#1163)
* Updating sdk tools * Update ChangeLog.md
1 parent c976fb7 commit 22bfc9c

File tree

9 files changed

+250
-168
lines changed

9 files changed

+250
-168
lines changed

Branch-SDK-TestBed/build.gradle.kts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,16 @@ dependencies {
2222
}
2323

2424
android {
25-
val ANDROID_BUILD_SDK_VERSION: String by project
26-
val ANDROID_BUILD_TARGET_SDK_MINIMUM: String by project
27-
val ANDROID_BUILD_TARGET_SDK_VERSION: String by project
25+
val ANDROID_BUILD_SDK_VERSION_COMPILE: String by project
26+
val ANDROID_BUILD_SDK_VERSION_MINIMUM: String by project
2827
val VERSION_NAME: String by project
2928
val VERSION_CODE: String by project
3029

31-
compileSdk = ANDROID_BUILD_SDK_VERSION.toInt()
30+
compileSdk = ANDROID_BUILD_SDK_VERSION_COMPILE.toInt()
3231
defaultConfig {
3332
applicationId = "io.branch.branchandroidtestbed"
34-
minSdk = ANDROID_BUILD_TARGET_SDK_MINIMUM.toInt()
35-
targetSdk = ANDROID_BUILD_TARGET_SDK_VERSION.toInt()
33+
minSdk = ANDROID_BUILD_SDK_VERSION_MINIMUM.toInt()
34+
targetSdk = 34
3635
versionName = VERSION_NAME
3736
versionCode = VERSION_CODE.toInt()
3837

Branch-SDK/build.gradle.kts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,19 @@ dependencies {
5858
}
5959

6060
val VERSION_NAME: String by project
61-
val ANDROID_BUILD_SDK_VERSION: String by project
62-
val ANDROID_BUILD_TARGET_SDK_MINIMUM: String by project
63-
val ANDROID_BUILD_TARGET_SDK_VERSION: String by project
61+
val ANDROID_BUILD_SDK_VERSION_COMPILE: String by project
62+
val ANDROID_BUILD_SDK_VERSION_MINIMUM: String by project
6463
val VERSION_CODE: String by project
6564

6665
fun isReleaseBuild(): Boolean {
6766
return !VERSION_NAME.endsWith("SNAPSHOT")
6867
}
6968

7069
android {
71-
compileSdk = ANDROID_BUILD_SDK_VERSION.toInt()
70+
compileSdk = ANDROID_BUILD_SDK_VERSION_COMPILE.toInt()
7271

7372
defaultConfig {
74-
minSdk = ANDROID_BUILD_TARGET_SDK_MINIMUM.toInt()
75-
targetSdk = ANDROID_BUILD_TARGET_SDK_VERSION.toInt()
73+
minSdk = ANDROID_BUILD_SDK_VERSION_MINIMUM.toInt()
7674
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
7775
consumerProguardFiles("proguard-consumer.txt")
7876
}

ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Branch Android SDK change log
2+
- v5.8.2
3+
* _*Release Branch 5.8.2*_ - Jan 26, 2024
4+
- Removed deprecated field target SDK version from library manifest.
5+
- Updated Gradle.
26
- v5.8.1
37
* _*Release Branch 5.8.1*_ - Jan 18, 2024
48
- Preserve logging to console when SDK is not in debug.

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import org.gradle.api.tasks.testing.logging.*
22

33
plugins {
4-
id("com.android.library") version "8.0.2" apply false
5-
id("com.android.application") version "8.0.2" apply false
6-
id("org.jetbrains.kotlin.android") version "1.6.20" apply false
4+
id("com.android.library") version "8.1.2" apply false
5+
id("com.android.application") version "8.1.2" apply false
6+
id("org.jetbrains.kotlin.android") version "1.6.21" apply false
77
}
88

99
val VERSION_NAME: String by project

gradle.properties

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
VERSION_NAME=5.8.1
2-
VERSION_CODE=051001
1+
VERSION_NAME=5.8.2
2+
VERSION_CODE=051002
33
GROUP=io.branch.sdk.android
44

55
POM_DESCRIPTION=Use the Branch SDK (branch.io) to create and power the links that point back to your apps for all of these things and more. Branch makes it incredibly simple to create powerful deep links that can pass data across app install and open while handling all edge cases (using on desktop vs. mobile vs. already having the app installed, etc). Best of all, it is really simple to start using the links for your own app: only 2 lines of code to register the deep link router and one more line of code to create the links with custom data.
@@ -13,8 +13,7 @@ POM_LICENCE_DIST=repo
1313
POM_DEVELOPER_ID=branch
1414
POM_DEVELOPER_NAME=Branch Metrics
1515

16-
ANDROID_BUILD_TARGET_SDK_MINIMUM=21
17-
ANDROID_BUILD_TARGET_SDK_VERSION=33
18-
ANDROID_BUILD_TOOLS_VERSION=30.0.2
19-
ANDROID_BUILD_SDK_VERSION=33
16+
ANDROID_BUILD_SDK_VERSION_MINIMUM=21
17+
ANDROID_BUILD_SDK_VERSION_COMPILE=34
18+
ANDROID_BUILD_TOOLS_VERSION=34.0.0
2019
android.useAndroidX=true

gradle/wrapper/gradle-wrapper.jar

11.4 KB
Binary file not shown.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Tue Jun 20 16:10:36 PDT 2023
21
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
42
distributionPath=wrapper/dists
5-
zipStorePath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
4+
networkTimeout=10000
65
zipStoreBase=GRADLE_USER_HOME
6+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)