This repository was archived by the owner on Jan 1, 2023. It is now read-only.
File tree 4 files changed +32
-15
lines changed
4 files changed +32
-15
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
2
3
3
android {
4
- compileSdkVersion 22
4
+ compileSdkVersion 25
5
5
buildToolsVersion " 22.0.1"
6
6
7
7
defaultConfig {
8
8
minSdkVersion 3
9
- targetSdkVersion 17
9
+ targetSdkVersion 25
10
10
versionCode 1
11
11
versionName " 1.0"
12
12
}
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ apply plugin: 'com.android.application'
3
3
project. archivesBaseName = " TTW" ;
4
4
5
5
android {
6
- compileSdkVersion 22
6
+ compileSdkVersion 25
7
7
buildToolsVersion " 22.0.1"
8
8
9
9
defaultConfig {
10
10
applicationId " org.codechimp.ttw"
11
- minSdkVersion 18
12
- targetSdkVersion 22
11
+ minSdkVersion 19
12
+ targetSdkVersion 25
13
13
versionName project. VERSION_NAME
14
14
versionCode Integer . parseInt(project. VERSION_CODE )
15
15
}
@@ -28,11 +28,11 @@ android {
28
28
dependencies {
29
29
compile fileTree(dir : ' libs' , include : [' *.jar' ])
30
30
compile project(' :locale-api' )
31
- wearApp project(' :wear' )
32
- compile ' com.android.support:appcompat-v7:22.2.1 '
33
- compile ' com.android.support:recyclerview-v7:22.2.1 '
34
- compile ' com.google.android.gms:play-services-wearable:7.3.0 '
35
- compile ' com.android.support:support-v4:22.2.1 '
31
+ wearApp project(path : ' :wear' , configuration : ' wear1Release ' )
32
+ compile ' com.android.support:appcompat-v7:25.1.0 '
33
+ compile ' com.android.support:recyclerview-v7:25.1.0 '
34
+ compile ' com.google.android.gms:play-services-wearable:10.0.1 '
35
+ compile ' com.android.support:support-v4:25.1.0 '
36
36
}
37
37
38
38
def Properties props = new Properties ()
Original file line number Diff line number Diff line change @@ -2,13 +2,17 @@ apply plugin: 'com.android.application'
2
2
3
3
4
4
android {
5
- compileSdkVersion 22
5
+ // Allows you to reference product flavors in your
6
+ // phone module's build.gradle file
7
+ publishNonDefault true
8
+
9
+ compileSdkVersion 24
6
10
buildToolsVersion " 22.0.1"
7
11
8
12
defaultConfig {
9
13
applicationId " org.codechimp.ttw"
10
- minSdkVersion 21
11
- targetSdkVersion 22
14
+ minSdkVersion 23
15
+ targetSdkVersion 24
12
16
versionName project. VERSION_NAME
13
17
versionCode Integer . parseInt(project. VERSION_CODE )
14
18
}
@@ -22,12 +26,21 @@ android {
22
26
signingConfig signingConfigs. release
23
27
}
24
28
}
29
+
30
+ productFlavors {
31
+ wear1 {
32
+ // Use the defaultConfig value
33
+ }
34
+ wear2 {
35
+ minSdkVersion 24
36
+ }
37
+ }
25
38
}
26
39
27
40
dependencies {
28
41
compile fileTree(dir : ' libs' , include : [' *.jar' ])
29
- compile ' com.google.android.support:wearable:1.1 .0'
30
- compile ' com.google.android.gms:play-services-wearable:7.3.0 '
42
+ compile ' com.google.android.support:wearable:1.4 .0'
43
+ compile ' com.google.android.gms:play-services-wearable:10.0.1 '
31
44
}
32
45
33
46
def Properties props = new Properties ()
Original file line number Diff line number Diff line change 11
11
android : theme =" @android:style/Theme.DeviceDefault"
12
12
android : icon =" @mipmap/ic_launcher" >
13
13
14
+ <meta-data
15
+ android : name =" com.google.android.wearable.standalone"
16
+ android : value =" false" />
17
+
14
18
<service android : name =" .WearListenerService" >
15
19
<intent-filter >
16
20
<action android : name =" com.google.android.gms.wearable.BIND_LISTENER" />
You can’t perform that action at this time.
0 commit comments