Skip to content

Commit

Permalink
Merge branch 'develop' into issues/rename-proximity-timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
Hopsaheysa authored Dec 12, 2023
2 parents 7db1717 + 03eee97 commit 5a9231d
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
6 changes: 3 additions & 3 deletions buildSrc/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# BuildScript dependencies
# some reasoning here https://discuss.gradle.org/t/place-for-properties-visible-from-both-buildsrc-and-project/18916

systemProp.kotlinVersion=1.8.20
systemProp.androidPluginVersion=8.0.2
systemProp.dokkaVersion=1.8.10
systemProp.kotlinVersion=1.8.22
systemProp.androidPluginVersion=8.1.4
systemProp.dokkaVersion=1.8.20
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/Constants.kt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ object Constants {
}

object Android {
const val compileSdkVersion = 31
const val targetSdkVersion = 31
const val compileSdkVersion = 33
const val targetSdkVersion = 33
const val minSdkVersion = 19
const val buildToolsVersion = "33.0.2"
}
Expand Down
7 changes: 4 additions & 3 deletions library/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ android {

defaultConfig {
minSdk = Constants.Android.minSdkVersion
@Suppress("DEPRECATION")
targetSdk = Constants.Android.targetSdkVersion

// since Android Gradle Plugin 4.1.0
Expand Down Expand Up @@ -76,8 +77,8 @@ android {
dependencies {
// Bundled
implementation("org.jetbrains.kotlin:kotlin-stdlib:${Constants.BuildScript.kotlinVersion}")
implementation("androidx.annotation:annotation:1.6.0")
implementation("com.google.code.gson:gson:2.8.9")
implementation("androidx.annotation:annotation:1.7.0")
implementation("com.google.code.gson:gson:2.10.1")
implementation("com.jakewharton.threetenabp:threetenabp:1.1.1")
// DO NOT UPGRADE ABOVE 3.12.X! Version 3.12 is the last version supporting TLS 1 and 1.1
// If upgraded, the app will crash on android 4.4
Expand All @@ -98,7 +99,7 @@ dependencies {
androidTestImplementation("androidx.test:runner:1.5.2")
androidTestImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test:core:1.5.0")
androidTestImplementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))
androidTestImplementation(platform("org.jetbrains.kotlin:kotlin-bom:${Constants.BuildScript.kotlinVersion}"))
}

apply("android-release-aar.gradle")
3 changes: 3 additions & 0 deletions library/src/androidTest/java/InboxTests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ class InboxTests {

@After
fun tearDown() {
if (!::pa.isInitialized) {
return
}
IntegrationUtils.removeRegistration(pa.activationIdentifier)
pa.removeActivationLocal(IntegrationUtils.context)
}
Expand Down
3 changes: 3 additions & 0 deletions library/src/androidTest/java/IntegrationTests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ class IntegrationTests {

@After
fun tearDown() {
if (!::pa.isInitialized) {
return
}
IntegrationUtils.removeRegistration(pa.activationIdentifier)
pa.removeActivationLocal(IntegrationUtils.context)
}
Expand Down

0 comments on commit 5a9231d

Please sign in to comment.