Skip to content

Commit

Permalink
Downgrades dependencies for Wear OS SDK 33
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxpace committed Feb 21, 2024
1 parent 73fcc38 commit c58e9d1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 27 deletions.
2 changes: 1 addition & 1 deletion WearOsLib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies {
implementation project(path: ':flipper')

implementation 'androidx.preference:preference-ktx:1.2.1'
implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.core:core-ktx:1.10.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'

Expand Down
2 changes: 1 addition & 1 deletion sensorservices/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies {
implementation project(path: ':flipper')

implementation "androidx.multidex:multidex:2.0.1"
implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.core:core-ktx:1.10.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.gms:play-services-location:21.1.0'
implementation 'com.google.android.gms:play-services-maps:18.2.0'
Expand Down
32 changes: 7 additions & 25 deletions wear/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,25 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'

if (getGradle().getStartParameter().getTaskRequests().toString().contains("Release")) {
apply plugin: 'com.google.firebase.crashlytics'
}

android {
compileSdk 34

compileSdk 33
defaultConfig {
applicationId "motionapps.sensorbox"
minSdkVersion 25
targetSdkVersion 34
targetSdkVersion 33
versionCode 1000048
versionName "3.5.2"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
signingConfig signingConfigs.debug
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}

nfrelease{
initWith release
}
Expand All @@ -37,49 +32,36 @@ android {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17
}

namespace 'com.motionapps.sensorbox'
}

dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation project(path: ':wearoslib')
implementation project(path: ':SensorServices')

implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.core:core-ktx:1.10.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.wear:wear-remote-interactions:1.0.0'

testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'

implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'

releaseImplementation 'com.google.firebase:firebase-analytics-ktx:21.5.1'
releaseImplementation 'com.google.firebase:firebase-crashlytics-ktx:18.6.2'

implementation 'androidx.percentlayout:percentlayout:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.3.2'
implementation 'androidx.recyclerview:recyclerview:1.3.1'
implementation 'androidx.wear:wear:1.3.0'
implementation 'androidx.preference:preference-ktx:1.2.1'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'


implementation 'com.google.android.support:wearable:2.9.0'
implementation 'com.google.android.gms:play-services-wearable:18.1.0'
implementation 'com.google.android.gms:play-services-location:21.1.0'
implementation 'com.google.android.gms:play-services-basement:18.3.0'
implementation 'com.google.android.gms:play-services-maps:18.2.0'
implementation 'com.google.android.material:material:1.11.0'

implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0'

implementation 'com.google.android.material:material:1.9.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1'
implementation 'com.github.GrenderG:Toasty:1.5.2'
implementation 'com.jjoe64:graphview:4.2.2'

compileOnly 'com.google.android.wearable:wearable:2.9.0'

}
}

0 comments on commit c58e9d1

Please sign in to comment.