This repository was archived by the owner on Jan 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 26 files changed +136
-178
lines changed
RecyclerViewClickHandler-Starter
RecyclerViewDiffUtilDataBinding-Starter
RecyclerViewFundamentals-Starter
RecyclerViewGridLayout-Starter
TrackMySleepQuality-Starter
TrackMySleepQualityCoroutines-Starter
TrackMySleepQualityStates-Starter Expand file tree Collapse file tree 26 files changed +136
-178
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,11 @@ apply plugin: 'kotlin-android'
21
21
apply plugin : ' kotlin-kapt'
22
22
23
23
android {
24
- compileSdkVersion 28
25
- dataBinding {
26
- enabled = true
27
- }
24
+ compileSdkVersion 30
28
25
defaultConfig {
29
26
applicationId ' com.example.android.navigation'
30
27
minSdkVersion 19
31
- targetSdkVersion 28
28
+ targetSdkVersion 30
32
29
vectorDrawables. useSupportLibrary = true
33
30
versionCode 1
34
31
versionName " 1.0"
@@ -42,17 +39,17 @@ android {
42
39
}
43
40
productFlavors {
44
41
}
42
+ buildFeatures {
43
+ dataBinding true
44
+ }
45
45
}
46
46
47
47
dependencies {
48
48
implementation fileTree(include : [' *.jar' ], dir : ' libs' )
49
49
implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
50
50
implementation " org.jetbrains.kotlin:kotlin-reflect:$kotlin_version "
51
51
implementation " androidx.appcompat:appcompat:$supportlibVersion "
52
- implementation ' androidx.constraintlayout:constraintlayout:2.0.0-alpha1'
53
- implementation ' androidx.legacy:legacy-support-v4:1.0.0-beta01'
54
- testImplementation ' junit:junit:4.12'
55
- androidTestImplementation ' androidx.test:runner:1.1.0-alpha4'
56
- androidTestImplementation ' androidx.test.espresso:espresso-core:3.1.0-alpha4'
57
- implementation " com.google.android.material:material:1.0.0-rc01"
52
+ implementation ' androidx.constraintlayout:constraintlayout:2.0.0-rc1'
53
+ implementation ' androidx.legacy:legacy-support-v4:1.0.0'
54
+ implementation " com.google.android.material:material:1.3.0-alpha02"
58
55
}
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ buildscript {
19
19
ext {
20
20
kotlin_version = ' 1.3.72'
21
21
archLifecycleVersion = ' 1.1.1'
22
- gradleVersion = ' 4.0.0 '
23
- supportlibVersion = ' 1.0.0-rc03 '
22
+ gradleVersion = ' 4.0.1 '
23
+ supportlibVersion = ' 1.2.0 '
24
24
dataBindingCompilerVersion = gradleVersion // Always need to be the same.
25
25
}
26
26
repositories {
Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ apply plugin: 'com.android.application'
18
18
apply plugin : ' kotlin-android'
19
19
20
20
android {
21
- compileSdkVersion 28
21
+ compileSdkVersion 30
22
22
defaultConfig {
23
23
applicationId " com.example.android.dessertclicker"
24
24
minSdkVersion 19
25
- targetSdkVersion 28
25
+ targetSdkVersion 30
26
26
versionCode 1
27
27
versionName " 1.0"
28
28
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -34,14 +34,14 @@ android {
34
34
proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
35
35
}
36
36
}
37
- dataBinding {
38
- enabled = true
37
+ buildFeatures {
38
+ dataBinding true
39
39
}
40
40
}
41
41
42
42
dependencies {
43
43
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
44
44
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
45
- implementation ' androidx.appcompat:appcompat:1.0 .0'
46
- implementation ' androidx.constraintlayout:constraintlayout:2.0.0-alpha2 '
45
+ implementation ' androidx.appcompat:appcompat:1.2 .0'
46
+ implementation ' androidx.constraintlayout:constraintlayout:2.0.0-rc1 '
47
47
}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ buildscript {
24
24
jcenter()
25
25
}
26
26
dependencies {
27
- classpath ' com.android.tools.build:gradle:4.0.0 '
27
+ classpath ' com.android.tools.build:gradle:4.0.1 '
28
28
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
29
29
30
30
// NOTE: Do not place your application dependencies here; they belong
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ apply plugin: "androidx.navigation.safeargs"
21
21
apply plugin : ' kotlin-android-extensions'
22
22
23
23
android {
24
- compileSdkVersion 28
24
+ compileSdkVersion 30
25
25
defaultConfig {
26
26
applicationId " com.example.android.devbyteviewer"
27
- minSdkVersion 19
28
- targetSdkVersion 28
27
+ minSdkVersion 21
28
+ targetSdkVersion 30
29
29
versionCode 1
30
30
versionName " 1.0"
31
31
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -38,8 +38,8 @@ android {
38
38
}
39
39
}
40
40
41
- dataBinding {
42
- enabled = true
41
+ buildFeatures {
42
+ dataBinding true
43
43
}
44
44
45
45
}
@@ -49,7 +49,7 @@ dependencies {
49
49
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
50
50
51
51
// support libraries
52
- implementation ' androidx.appcompat:appcompat:1.0.2 '
52
+ implementation ' androidx.appcompat:appcompat:1.2.0 '
53
53
implementation ' androidx.legacy:legacy-support-v4:1.0.0'
54
54
implementation ' com.google.android.material:material:1.0.0'
55
55
@@ -85,7 +85,7 @@ dependencies {
85
85
86
86
// arch components
87
87
// ViewModel and LiveData
88
- def lifecycle_version = " 2.2.0-alpha01 "
88
+ def lifecycle_version = " 2.2.0"
89
89
implementation " androidx.lifecycle:lifecycle-extensions:$lifecycle_version "
90
90
91
91
// logging
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ buildscript {
23
23
jcenter()
24
24
}
25
25
dependencies {
26
- classpath ' com.android.tools.build:gradle:4.0.0 '
26
+ classpath ' com.android.tools.build:gradle:4.0.1 '
27
27
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
28
28
classpath " android.arch.navigation:navigation-safe-args-gradle-plugin:1.0.0"
29
29
Original file line number Diff line number Diff line change @@ -22,14 +22,11 @@ apply plugin: 'kotlin-kapt'
22
22
apply plugin : " androidx.navigation.safeargs"
23
23
24
24
android {
25
- compileSdkVersion 28
26
- dataBinding {
27
- enabled = true
28
- }
25
+ compileSdkVersion 30
29
26
defaultConfig {
30
27
applicationId " com.example.android.gdgfinder"
31
28
minSdkVersion 19
32
- targetSdkVersion 28
29
+ targetSdkVersion 30
33
30
versionCode 1
34
31
versionName " 1.0"
35
32
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -44,6 +41,10 @@ android {
44
41
androidExtensions {
45
42
experimental = true
46
43
}
44
+
45
+ buildFeatures {
46
+ dataBinding true
47
+ }
47
48
}
48
49
49
50
dependencies {
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ buildscript {
25
25
jcenter()
26
26
}
27
27
dependencies {
28
- classpath ' com.android.tools.build:gradle:4.0.0 '
28
+ classpath ' com.android.tools.build:gradle:4.0.1 '
29
29
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$version_kotlin "
30
30
classpath " android.arch.navigation:navigation-safe-args-gradle-plugin:$version_navigation "
31
31
}
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ apply plugin: 'kotlin-android-extensions'
21
21
apply plugin : " androidx.navigation.safeargs"
22
22
23
23
android {
24
- compileSdkVersion 28
24
+ compileSdkVersion 30
25
25
defaultConfig {
26
26
applicationId " com.example.android.guesstheword"
27
27
minSdkVersion 19
28
- targetSdkVersion 28
28
+ targetSdkVersion 30
29
29
versionCode 1
30
30
versionName " 1.0"
31
31
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -37,21 +37,21 @@ android {
37
37
}
38
38
}
39
39
40
- dataBinding {
41
- enabled = true
40
+ buildFeatures {
41
+ dataBinding true
42
42
}
43
43
}
44
44
45
45
dependencies {
46
46
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
47
47
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
48
- implementation ' androidx.appcompat:appcompat:1.0.2 '
48
+ implementation ' androidx.appcompat:appcompat:1.2.0 '
49
49
implementation ' androidx.constraintlayout:constraintlayout:1.1.3'
50
50
implementation ' androidx.legacy:legacy-support-v4:1.0.0'
51
51
testImplementation ' junit:junit:4.12'
52
52
53
53
// KTX
54
- implementation ' androidx.core:core-ktx:1.0 .1'
54
+ implementation ' androidx.core:core-ktx:1.3 .1'
55
55
56
56
// Navigation
57
57
implementation " android.arch.navigation:navigation-fragment-ktx:1.0.0"
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ buildscript {
23
23
jcenter()
24
24
}
25
25
dependencies {
26
- classpath ' com.android.tools.build:gradle:4.0.0 '
26
+ classpath ' com.android.tools.build:gradle:4.0.1 '
27
27
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
28
28
classpath " android.arch.navigation:navigation-safe-args-gradle-plugin:1.0.0"
29
29
You can’t perform that action at this time.
0 commit comments