mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-02-13 19:18:30 -05:00
Initial WIP on Wear OS tile app
This commit is contained in:
56
WearOS/src/build.gradle
Normal file
56
WearOS/src/build.gradle
Normal file
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* Copyright 2021 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
id 'kotlin-android'
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 31
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.chriskaczor.homemonitor.wear"
|
||||
minSdkVersion 26
|
||||
targetSdkVersion 30
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
implementation 'androidx.core:core-ktx:1.6.0'
|
||||
// General Wear functionality
|
||||
implementation 'androidx.wear:wear:1.1.0'
|
||||
// Tiles functionality
|
||||
implementation "androidx.wear.tiles:tiles:1.0.0-alpha11"
|
||||
// Preview Tiles in an Activity for testing purposes
|
||||
debugImplementation "androidx.wear.tiles:tiles-renderer:1.0.0-alpha11"
|
||||
// Helper library for transforming coroutines to ListenableFutures
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-guava:1.5.1'
|
||||
|
||||
implementation 'com.beust:klaxon:5.5'
|
||||
}
|
||||
Reference in New Issue
Block a user