Commit 2fa3abb1 authored by aniket's avatar aniket

resolves minor issues

parent fd7f81d6
...@@ -36,7 +36,12 @@ ext { ...@@ -36,7 +36,12 @@ ext {
junit : '4.12', junit : '4.12',
truth : '0.36', truth : '0.36',
espresso : '3.0.2', espresso : '3.0.2',
mockito : '2.10.0' mockito : '2.10.0',
//For wearable
wear : '2.3.0',
playServicesWearable : '15.0.1',
supportWearable : '26.1.0'
] ]
libraries = [ libraries = [
kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jre8:${versions.kotlin}", kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jre8:${versions.kotlin}",
...@@ -102,5 +107,13 @@ ext { ...@@ -102,5 +107,13 @@ ext {
espressoIntents : "com.android.support.test.espresso:espresso-intents:${versions.espresso}", espressoIntents : "com.android.support.test.espresso:espresso-intents:${versions.espresso}",
roomTest : "android.arch.persistence.room:testing:${versions.room}", roomTest : "android.arch.persistence.room:testing:${versions.room}",
truth : "com.google.truth:truth:$versions.truth", truth : "com.google.truth:truth:$versions.truth",
//For the wear app
wearable : "com.google.android.support:wearable:${versions.wear}",
playServicesWearable : "com.google.android.gms:play-services-wearable:${versions.playServicesWearable}",
percentLayout : "com.android.support:percent:${versions.supportWearable}",
supportWearable : "com.android.support:support-v4:${versions.supportWearable}",
wearableRecyclerView : "com.android.support:recyclerview-v7:${versions.supportWearable}",
wearSupport : "com.android.support:wear:${versions.supportWearable}"
] ]
} }
...@@ -4,13 +4,12 @@ apply plugin: 'kotlin-android-extensions' ...@@ -4,13 +4,12 @@ apply plugin: 'kotlin-android-extensions'
android { android {
compileSdkVersion 26 compileSdkVersion 26
defaultConfig { defaultConfig {
applicationId "chat.rocket.android.wear" applicationId "chat.rocket.android.wear"
minSdkVersion 23 minSdkVersion 23
targetSdkVersion versions.targetSdk targetSdkVersion versions.targetSdk
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0.0"
} }
buildTypes { buildTypes {
release { release {
...@@ -28,11 +27,11 @@ android { ...@@ -28,11 +27,11 @@ android {
dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation libraries.kotlin implementation libraries.kotlin
implementation 'com.google.android.support:wearable:2.3.0' implementation libraries.wearable
implementation 'com.google.android.gms:play-services-wearable:15.0.1' implementation libraries.playServicesWearable
implementation 'com.android.support:percent:26.1.0' implementation libraries.percentLayout
implementation 'com.android.support:support-v4:26.1.0' implementation libraries.supportWearable
implementation 'com.android.support:recyclerview-v7:26.1.0' implementation libraries.wearableRecyclerView
implementation 'com.android.support:wear:26.1.0' implementation libraries.wearSupport
compileOnly 'com.google.android.wearable:wearable:2.3.0' compileOnly 'com.google.android.wearable:wearable:2.3.0'
} }
<resources> <resources>
<string name="app_name">Wear</string> <string name="app_name">Rocket&#46;Chat</string>
<!-- <!--
This string is used for square devices and overridden by hello_world in This string is used for square devices and overridden by hello_world in
values-round/strings.xml for round devices. values-round/strings.xml for round devices.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment