Skip to content

Commit

Permalink
LMN-15654 | Fix heath fit connection data fetch (Health Connect revert)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtokun authored Mar 5, 2024
1 parent 554285d commit bd36af1
Show file tree
Hide file tree
Showing 15 changed files with 1,136 additions and 2,743 deletions.
21 changes: 6 additions & 15 deletions packages/health/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,36 @@ group 'cachet.plugins.health'
version '1.2'

buildscript {
ext.kotlin_version = '1.8.0'
ext.kotlin_version = '1.6.10'
repositories {
google()
mavenCentral()
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:7.4.0'
classpath 'com.android.tools.build:gradle:7.0.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

rootProject.allprojects {
repositories {
google()
mavenCentral()
jcenter()
}
}

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion 34
compileSdkVersion 33

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
minSdkVersion 26
targetSdkVersion 33
minSdkVersion 16
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
lintOptions {
Expand All @@ -41,15 +40,7 @@ android {
}

dependencies {
def composeBom = platform('androidx.compose:compose-bom:2022.10.00')
implementation(composeBom)
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation("com.google.android.gms:play-services-fitness:21.0.1")
implementation("com.google.android.gms:play-services-auth:20.2.0")

// The new health connect api
implementation("androidx.health.connect:connect-client:1.1.0-alpha06")

def fragment_version = "1.6.2"
implementation "androidx.fragment:fragment-ktx:$fragment_version"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip

This file was deleted.

This file was deleted.

Loading

0 comments on commit bd36af1

Please sign in to comment.