diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 8a2a33a..b4067df 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -7,17 +7,14 @@ plugins { android { namespace = "com.mrunk.wearhr" - compileSdk = 34 + compileSdk = 35 defaultConfig { applicationId = "com.mrunk.wearhr" - minSdk = 30 // Wear OS 3+ - targetSdk = 34 + minSdk = 30 // Wear OS 3+ (passt auch für Wear OS 5) + targetSdk = 35 versionCode = 1 versionName = "0.1.0" - - // Allow cleartext OFF by default; we use WSS. - resourceConfigurations += listOf("en", "de") } buildTypes { diff --git a/build.gradle.kts b/build.gradle.kts index cdf74d6..5c3124f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,4 +1,4 @@ plugins { - id("com.android.application") version "8.5.0" apply false - kotlin("android") version "1.9.24" apply false -} \ No newline at end of file + id("com.android.application") version "8.12.0" apply false + id("org.jetbrains.kotlin.android") version "2.1.20" apply false +} diff --git a/settings.gradle.kts b/settings.gradle.kts index 075e890..df9a22a 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,2 +1,9 @@ +pluginManagement { + repositories { google(); mavenCentral(); gradlePluginPortal() } +} +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositories { google(); mavenCentral() } +} rootProject.name = "wearos-heartmonitor-wss" -include(":app") \ No newline at end of file +include(":app")