Skip to content
This repository was archived by the owner on Jun 5, 2023. It is now read-only.

Commit c980965

Browse files
Update Gradle and libraries version in sample applications (#32)
1 parent 87042ee commit c980965

File tree

22 files changed

+46
-38
lines changed

22 files changed

+46
-38
lines changed

Camera2Sample/app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ dependencies {
3232
implementation 'com.example.glass.ui:gesture-lib-sample:0.1.0-SNAPSHOT'
3333

3434
implementation 'com.android.support:appcompat-v7:28.0.0'
35-
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
35+
implementation 'com.android.support.constraint:constraint-layout:2.0.4'
3636
}

Camera2Sample/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ buildscript {
2020
jcenter()
2121
}
2222
dependencies {
23-
classpath 'com.android.tools.build:gradle:4.0.0'
23+
classpath 'com.android.tools.build:gradle:4.0.2'
2424

2525
// NOTE: Do not place your application dependencies here; they belong
2626
// in the individual module build.gradle files
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#Mon Nov 09 10:20:07 PST 2020
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-all.zip

CardSample/app/build.gradle

+5-4
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,15 @@ android {
2525
versionCode 1
2626
versionName "1.0"
2727
}
28-
dataBinding {
29-
enabled = true
28+
29+
buildFeatures {
30+
dataBinding = true
3031
}
3132
}
3233

3334
dependencies {
3435
implementation 'com.example.glass.ui:gesture-lib-sample:0.1.0-SNAPSHOT'
3536
implementation 'androidx.recyclerview:recyclerview:1.1.0'
36-
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
37-
implementation 'com.google.android.material:material:1.0.0'
37+
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
38+
implementation 'com.google.android.material:material:1.2.1'
3839
}

CardSample/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
jcenter()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:4.0.0'
10+
classpath 'com.android.tools.build:gradle:4.0.2'
1111

1212
// NOTE: Do not place your application dependencies here; they belong
1313
// in the individual module build.gradle files
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#Mon Nov 09 10:22:39 PST 2020
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-all.zip

GallerySample/app/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ android {
3131
minifyEnabled false
3232
}
3333
}
34-
dataBinding {
35-
enabled = true
34+
buildFeatures {
35+
dataBinding = true
3636
}
3737
}
3838

3939
dependencies {
4040
implementation 'com.example.glass.ui:gesture-lib-sample:0.1.0-SNAPSHOT'
4141
implementation 'com.android.support:appcompat-v7:28.0.0'
4242
implementation 'com.android.support:recyclerview-v7:28.0.0'
43-
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
43+
implementation 'com.android.support.constraint:constraint-layout:2.0.4'
4444
}

GallerySample/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ buildscript {
2020
jcenter()
2121
}
2222
dependencies {
23-
classpath 'com.android.tools.build:gradle:4.0.0'
23+
classpath 'com.android.tools.build:gradle:4.0.2'
2424

2525
// NOTE: Do not place your application dependencies here; they belong
2626
// in the individual module build.gradle files
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#Mon Nov 09 10:29:58 PST 2020
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-all.zip

GestureLibrarySample/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ buildscript {
2222
jcenter()
2323
}
2424
dependencies {
25-
classpath 'com.android.tools.build:gradle:4.0.0'
25+
classpath 'com.android.tools.build:gradle:4.0.2'
2626

2727
// NOTE: Do not place your application dependencies here; they belong
2828
// in the individual module build.gradle files
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#Mon Nov 09 10:15:09 PST 2020
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-all.zip

NotesSample/app/build.gradle

+8-8
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ android {
3333
versionName "1.0"
3434
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
3535
}
36-
dataBinding {
37-
enabled = true
36+
buildFeatures {
37+
dataBinding = true
3838
}
3939
kotlinOptions {
4040
jvmTarget = JavaVersion.VERSION_1_8.toString()
@@ -45,14 +45,14 @@ dependencies {
4545
implementation 'com.example.glass.ui:gesture-lib-sample:0.1.0-SNAPSHOT'
4646

4747
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
48-
implementation 'androidx.appcompat:appcompat:1.1.0'
49-
implementation 'androidx.core:core-ktx:1.2.0'
50-
implementation "androidx.fragment:fragment-ktx:1.2.4"
51-
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
48+
implementation 'androidx.appcompat:appcompat:1.2.0'
49+
implementation 'androidx.core:core-ktx:1.3.2'
50+
implementation "androidx.fragment:fragment-ktx:1.2.5"
51+
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
5252
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
53-
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.0-alpha03'
53+
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.0-beta01'
5454
implementation 'androidx.recyclerview:recyclerview:1.1.0'
55-
implementation 'com.google.android.material:material:1.1.0'
55+
implementation 'com.google.android.material:material:1.2.1'
5656

5757
// Room persistence library imports
5858
implementation "androidx.room:room-runtime:$room_version"

NotesSample/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
*/
1616

1717
buildscript {
18-
ext.kotlin_version = '1.3.41'
18+
ext.kotlin_version = '1.3.72'
1919
ext.room_version = '2.2.5'
2020
repositories {
2121
google()
2222
jcenter()
2323

2424
}
2525
dependencies {
26-
classpath 'com.android.tools.build:gradle:4.0.0'
26+
classpath 'com.android.tools.build:gradle:4.0.2'
2727
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2828
// NOTE: Do not place your application dependencies here; they belong
2929
// in the individual module build.gradle files

QRCodeScannerSample/app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ android {
3939
dependencies {
4040
implementation 'com.example.glass.ui:gesture-lib-sample:0.1.0-SNAPSHOT'
4141

42-
implementation 'androidx.appcompat:appcompat:1.1.0'
42+
implementation 'androidx.appcompat:appcompat:1.2.0'
4343
implementation 'androidx.camera:camera-core:1.0.0-alpha06'
4444
implementation 'androidx.camera:camera-camera2:1.0.0-alpha06'
45-
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
45+
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
4646
implementation 'com.google.zxing:core:3.2.1'
4747
}

QRCodeScannerSample/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ buildscript {
2121

2222
}
2323
dependencies {
24-
classpath 'com.android.tools.build:gradle:4.0.0'
24+
classpath 'com.android.tools.build:gradle:4.0.2'
2525

2626
// NOTE: Do not place your application dependencies here; they belong
2727
// in the individual module build.gradle files
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#Mon Nov 09 10:14:14 PST 2020
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-all.zip

VoiceRecognitionSample/app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ android {
3131
dependencies {
3232
implementation 'com.example.glass.ui:gesture-lib-sample:0.1.0-SNAPSHOT'
3333

34-
implementation 'androidx.appcompat:appcompat:1.0.2'
35-
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
34+
implementation 'androidx.appcompat:appcompat:1.2.0'
35+
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
3636
}

VoiceRecognitionSample/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ buildscript {
2121

2222
}
2323
dependencies {
24-
classpath 'com.android.tools.build:gradle:4.0.0'
24+
classpath 'com.android.tools.build:gradle:4.0.2'
2525

2626
// NOTE: Do not place your application dependencies here; they belong
2727
// in the individual module build.gradle files
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#Mon Nov 09 10:41:19 PST 2020
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-all.zip

WebRTCSample/app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ android {
4444
dependencies {
4545
implementation fileTree(dir: 'libs', include: ['*.jar'])
4646
implementation fileTree(dir: 'third_party/autobanh/lib', include: ['autobanh.jar'])
47-
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
47+
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
4848
implementation 'com.example.glass.ui:gesture-lib-sample:0.1.0-SNAPSHOT'
4949
implementation 'com.google.code.findbugs:jsr305:3.0.2'
5050
implementation 'org.webrtc:google-webrtc:1.0.30039'
51-
implementation 'com.google.android.material:material:1.0.0'
51+
implementation 'com.google.android.material:material:1.2.1'
5252
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.7'
5353
testImplementation 'junit:junit:4.12'
5454
androidTestImplementation 'com.android.support.test:runner:1.0.2'

WebRTCSample/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
jcenter()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:4.0.0'
10+
classpath 'com.android.tools.build:gradle:4.0.2'
1111

1212
// NOTE: Do not place your application dependencies here; they belong
1313
// in the individual module build.gradle files
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#Mon Nov 09 10:43:19 PST 2020
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-all.zip

0 commit comments

Comments
 (0)