From 9de969610619efd48fb33fb271ea3fea7a357f38 Mon Sep 17 00:00:00 2001 From: Wenxi Zeng Date: Wed, 19 Jul 2023 11:04:38 -0700 Subject: [PATCH 1/3] update dependencies --- lib/build.gradle.kts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/build.gradle.kts b/lib/build.gradle.kts index 18d0463..6036af4 100644 --- a/lib/build.gradle.kts +++ b/lib/build.gradle.kts @@ -10,7 +10,6 @@ val VERSION_NAME: String by project android { compileSdk = 33 - buildToolsVersion = "33.0.1" defaultConfig { multiDexEnabled = true @@ -40,9 +39,7 @@ android { } dependencies { - coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.2") - - implementation("com.segment.analytics.kotlin:android:1.10.3") + implementation("com.segment.analytics.kotlin:android:1.12.0") implementation("androidx.multidex:multidex:2.0.1") implementation("androidx.core:core-ktx:1.8.0") From a25542085a392f29f0e8d2d711a68a0070940f5a Mon Sep 17 00:00:00 2001 From: Wenxi Zeng Date: Wed, 19 Jul 2023 11:14:37 -0700 Subject: [PATCH 2/3] add sample app --- testapp/build.gradle.kts | 1 + testapp/src/main/AndroidManifest.xml | 1 + .../mydestination/testapp/MainApplication.kt | 26 +++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 testapp/src/main/java/com/segment/analytics/destinations/mydestination/testapp/MainApplication.kt diff --git a/testapp/build.gradle.kts b/testapp/build.gradle.kts index c20890f..dd4e0bd 100644 --- a/testapp/build.gradle.kts +++ b/testapp/build.gradle.kts @@ -35,6 +35,7 @@ android { } dependencies { + implementation("com.segment.analytics.kotlin:android:1.12.0") implementation(project(mapOf("path" to ":lib"))) implementation("androidx.core:core-ktx:1.7.0") diff --git a/testapp/src/main/AndroidManifest.xml b/testapp/src/main/AndroidManifest.xml index 5f093d2..ec3affa 100644 --- a/testapp/src/main/AndroidManifest.xml +++ b/testapp/src/main/AndroidManifest.xml @@ -3,6 +3,7 @@ package="com.segment.analytics.destinations.mydestination.testapp"> ", applicationContext) { + flushAt = 1 + flushInterval = 10 + } + + Analytics.debugLogsEnabled = true + val adjust = AdjustDestination() + analytics.add(adjust) + } +} \ No newline at end of file From 20767d19520da7bc989d3d041545b2e6df86b935 Mon Sep 17 00:00:00 2001 From: Wenxi Zeng Date: Wed, 19 Jul 2023 11:15:12 -0700 Subject: [PATCH 3/3] prepare release 1.0.1 --- gradle.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 7ba0c45..fd8f645 100644 --- a/gradle.properties +++ b/gradle.properties @@ -23,8 +23,8 @@ kotlin.code.style=official # Deployment variables GROUP=com.segment.analytics.kotlin.destinations -VERSION_CODE=100 -VERSION_NAME=1.0.1-SNAPSHOT +VERSION_CODE=101 +VERSION_NAME=1.0.1 POM_ARTIFACT_ID=adjust POM_NAME=adjust