From 19f595bd1e7be1f82574540fc2f51afcb91f711f Mon Sep 17 00:00:00 2001 From: moonsense-ci <87720312+moonsense-ci@users.noreply.github.com> Date: Mon, 30 Jan 2023 15:14:36 -0500 Subject: [PATCH] [CI] Release 1.6.0 (#30) * Release 1.6.0 * set features to 0.1.1 * reset the feature changes * revert README --------- Co-authored-by: rahul27 <609380+rahul27@users.noreply.github.com> --- README.md | 2 +- buildSrc/src/main/java/AppConfig.kt | 2 +- buildSrc/src/main/java/Versions.kt | 13 ++++++------- sample-core-app/build.gradle.kts | 1 - .../io/moonsense/sdk/core/sample/sdk/AcmeSdk.kt | 8 ++++---- 5 files changed, 12 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 2c0e90d..6966de6 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ maven { ## Version History -The latest release of the SDK is `1.5.0`. Details about the current and past releases can be found in the [Releases](https://github.com/moonsense/moonsense-android-sdk/releases) section. +The latest release of the SDK is `1.6.0`. Details about the current and past releases can be found in the [Releases](https://github.com/moonsense/moonsense-android-sdk/releases) section. ## Integration diff --git a/buildSrc/src/main/java/AppConfig.kt b/buildSrc/src/main/java/AppConfig.kt index 564b320..970a7f6 100644 --- a/buildSrc/src/main/java/AppConfig.kt +++ b/buildSrc/src/main/java/AppConfig.kt @@ -8,7 +8,7 @@ object AppConfig { const val minSdkVersion = 16 const val targetSdkVersion = 33 const val versionCode = 1 - const val versionName = "1.5.0" + const val versionName = "1.6.0" const val buildToolsVersion = "30.0.3" const val androidTestInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" const val jvmTarget = "11" diff --git a/buildSrc/src/main/java/Versions.kt b/buildSrc/src/main/java/Versions.kt index ed4c301..53e96d1 100644 --- a/buildSrc/src/main/java/Versions.kt +++ b/buildSrc/src/main/java/Versions.kt @@ -4,17 +4,16 @@ */ object Versions { - const val gradleTools = "7.3.1" - const val kotlinVersion = "1.7.20" + const val gradleTools = "7.4.0" + const val kotlinVersion = "1.8.0" const val junit = "4.13.2" - const val junitAndroidX = "1.1.4" - const val squareWireRuntime = "4.4.3" + const val junitAndroidX = "1.1.5" const val constraintLayout = "2.1.4" - const val fragmentKtx = "1.5.4" + const val fragmentKtx = "1.5.5" const val androidXLegacySupport = "1.0.0" - const val material = "1.7.0" + const val material = "1.8.0" const val retrofit = "2.9.0" - const val gson = "2.10" + const val gson = "2.10.1" const val mockWebServer = "4.10.0" const val gradleVersionsPlugin = "0.44.0" const val moonsenseFeatures = "0.1.1" diff --git a/sample-core-app/build.gradle.kts b/sample-core-app/build.gradle.kts index 78ef01d..845a3db 100644 --- a/sample-core-app/build.gradle.kts +++ b/sample-core-app/build.gradle.kts @@ -42,7 +42,6 @@ android { dependencies { implementation("io.moonsense:android-core-sdk:${AppConfig.versionName}") - implementation("com.squareup.wire:wire-runtime:${Versions.squareWireRuntime}") implementation("com.squareup.retrofit2:retrofit:${Versions.retrofit}") implementation("com.squareup.retrofit2:converter-gson:${Versions.retrofit}") implementation("com.google.code.gson:gson:${Versions.gson}") diff --git a/sample-core-app/src/main/java/io/moonsense/sdk/core/sample/sdk/AcmeSdk.kt b/sample-core-app/src/main/java/io/moonsense/sdk/core/sample/sdk/AcmeSdk.kt index 9986ce1..65fc18c 100644 --- a/sample-core-app/src/main/java/io/moonsense/sdk/core/sample/sdk/AcmeSdk.kt +++ b/sample-core-app/src/main/java/io/moonsense/sdk/core/sample/sdk/AcmeSdk.kt @@ -9,7 +9,7 @@ import android.content.Context import android.util.Log import io.moonsense.models.v2.Bundle import io.moonsense.sdk.Moonsense -import io.moonsense.sdk.callback.MoonsenseCoreCallback +import io.moonsense.sdk.callback.MoonsenseCallback import io.moonsense.sdk.config.SDKConfig import io.moonsense.sdk.config.SensorType import io.moonsense.sdk.model.Session @@ -32,7 +32,7 @@ import java.util.UUID * a corresponding Acme Session. * * This example also demonstrates the handling of - * the Bundle data received via the [MoonsenseCoreCallback]. + * the Bundle data received via the [MoonsenseCallback]. */ class AcmeSdk(context: Context) { @@ -53,7 +53,7 @@ class AcmeSdk(context: Context) { .addConverterFactory(GsonConverterFactory.create()) .build().create(AcmeService::class.java) - private val moonsenseCoreCallback = object : MoonsenseCoreCallback { + private val moonsenseCallback = object : MoonsenseCallback { override fun onBundleCreated(session: Session, bundle: Bundle) { // retrieve the Acme Session @@ -116,7 +116,7 @@ class AcmeSdk(context: Context) { // only record accelerometer data sensorTypes = listOf(SensorType.ACCELEROMETER) ), - moonsenseCoreCallback + moonsenseCallback ) }