File tree 40 files changed +55
-68
lines changed
AdvancedStateAndSideEffectsCodelab
40 files changed +55
-68
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ buildscript {
21
21
}
22
22
23
23
dependencies {
24
- classpath ' com.android.tools.build:gradle:8.7.3 '
24
+ classpath ' com.android.tools.build:gradle:8.8.0 '
25
25
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
26
26
}
27
27
}
28
28
29
29
plugins {
30
- id ' com.diffplug.spotless' version ' 6.25.0 '
30
+ id ' com.diffplug.spotless' version ' 7.0.2 '
31
31
id ' org.jetbrains.kotlin.plugin.compose' version " 2.1.0" apply false
32
32
}
33
33
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.11.1 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 86
86
# shellcheck disable=SC2034
87
87
APP_BASE_NAME=${0##*/ }
88
88
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89
- APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s
90
- ' " $PWD " ) || exit
89
+ APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s\n' " $PWD " ) || exit
91
90
92
91
# Use the maximum available, or set MAX_FD != -1 to use that value.
93
92
MAX_FD=maximum
Original file line number Diff line number Diff line change 1
1
[versions ]
2
- androidGradlePlugin = " 8.7.3 "
2
+ androidGradlePlugin = " 8.8.0 "
3
3
composeBom = " 2024.12.01"
4
4
coreKtx = " 1.15.0"
5
5
activityCompose = " 1.9.3"
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.11.1 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 86
86
# shellcheck disable=SC2034
87
87
APP_BASE_NAME=${0##*/ }
88
88
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89
- APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s
90
- ' " $PWD " ) || exit
89
+ APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s\n' " $PWD " ) || exit
91
90
92
91
# Use the maximum available, or set MAX_FD != -1 to use that value.
93
92
MAX_FD=maximum
Original file line number Diff line number Diff line change @@ -123,8 +123,8 @@ dependencies {
123
123
def lifecycle_version = " 2.8.7"
124
124
implementation " androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycle_version "
125
125
implementation " androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version "
126
- implementation " com.google.dagger:hilt-android:2.53.1 "
127
- kapt " com.google.dagger:hilt-compiler:2.53.1 "
126
+ implementation " com.google.dagger:hilt-android:2.55 "
127
+ kapt " com.google.dagger:hilt-compiler:2.55 "
128
128
129
129
implementation " io.coil-kt:coil-compose:2.7.0"
130
130
@@ -135,7 +135,7 @@ dependencies {
135
135
androidTestImplementation " androidx.test.espresso:espresso-core:3.6.1"
136
136
androidTestImplementation " androidx.test.ext:junit-ktx:1.2.1"
137
137
androidTestImplementation " org.jetbrains.kotlinx:kotlinx-coroutines-test:1.10.0"
138
- androidTestImplementation " com.google.dagger:hilt-android:2.53.1 "
139
- androidTestImplementation " com.google.dagger:hilt-android-testing:2.53.1 "
140
- kaptAndroidTest " com.google.dagger:hilt-compiler:2.53.1 "
138
+ androidTestImplementation " com.google.dagger:hilt-android:2.55 "
139
+ androidTestImplementation " com.google.dagger:hilt-android-testing:2.55 "
140
+ kaptAndroidTest " com.google.dagger:hilt-compiler:2.55 "
141
141
}
Original file line number Diff line number Diff line change @@ -20,15 +20,15 @@ buildscript {
20
20
mavenCentral()
21
21
}
22
22
dependencies {
23
- classpath " com.android.tools.build:gradle:8.7.3 "
23
+ classpath " com.android.tools.build:gradle:8.8.0 "
24
24
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
25
- classpath " com.google.dagger:hilt-android-gradle-plugin:2.53.1 "
25
+ classpath " com.google.dagger:hilt-android-gradle-plugin:2.55 "
26
26
classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.1.0"
27
27
}
28
28
}
29
29
30
30
plugins {
31
- id ' com.diffplug.spotless' version ' 6.25.0 '
31
+ id ' com.diffplug.spotless' version ' 7.0.2 '
32
32
}
33
33
34
34
subprojects {
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.11.1 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 86
86
# shellcheck disable=SC2034
87
87
APP_BASE_NAME=${0##*/ }
88
88
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89
- APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s
90
- ' " $PWD " ) || exit
89
+ APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s\n' " $PWD " ) || exit
91
90
92
91
# Use the maximum available, or set MAX_FD != -1 to use that value.
93
92
MAX_FD=maximum
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ buildscript {
20
20
mavenCentral()
21
21
}
22
22
dependencies {
23
- classpath ' com.android.tools.build:gradle:8.7.3 '
23
+ classpath ' com.android.tools.build:gradle:8.8.0 '
24
24
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
25
25
classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.1.0"
26
26
}
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.11.1 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 86
86
# shellcheck disable=SC2034
87
87
APP_BASE_NAME=${0##*/ }
88
88
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89
- APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s
90
- ' " $PWD " ) || exit
89
+ APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s\n' " $PWD " ) || exit
91
90
92
91
# Use the maximum available, or set MAX_FD != -1 to use that value.
93
92
MAX_FD=maximum
Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ buildscript {
20
20
mavenCentral()
21
21
}
22
22
dependencies {
23
- classpath " com.android.tools.build:gradle:8.7.3 "
23
+ classpath " com.android.tools.build:gradle:8.8.0 "
24
24
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
25
25
classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.1.0"
26
26
}
27
27
}
28
28
29
29
plugins {
30
- id ' com.diffplug.spotless' version ' 6.25.0 '
30
+ id ' com.diffplug.spotless' version ' 7.0.2 '
31
31
}
32
32
33
33
subprojects {
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.11.1 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 86
86
# shellcheck disable=SC2034
87
87
APP_BASE_NAME=${0##*/ }
88
88
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89
- APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s
90
- ' " $PWD " ) || exit
89
+ APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s\n' " $PWD " ) || exit
91
90
92
91
# Use the maximum available, or set MAX_FD != -1 to use that value.
93
92
MAX_FD=maximum
Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ buildscript {
20
20
}
21
21
22
22
dependencies {
23
- classpath ' com.android.tools.build:gradle:8.7.3 '
23
+ classpath ' com.android.tools.build:gradle:8.8.0 '
24
24
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
25
25
classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.1.0"
26
26
}
27
27
}
28
28
29
29
plugins {
30
- id ' com.diffplug.spotless' version ' 6.25.0 '
30
+ id ' com.diffplug.spotless' version ' 7.0.2 '
31
31
}
32
32
33
33
subprojects {
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.11.1 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 86
86
# shellcheck disable=SC2034
87
87
APP_BASE_NAME=${0##*/ }
88
88
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89
- APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s
90
- ' " $PWD " ) || exit
89
+ APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s\n' " $PWD " ) || exit
91
90
92
91
# Use the maximum available, or set MAX_FD != -1 to use that value.
93
92
MAX_FD=maximum
Original file line number Diff line number Diff line change 16
16
17
17
// Top-level build file where you can add configuration options common to all sub-projects/modules.
18
18
plugins {
19
- id(" com.android.application" ) version " 8.7.3 " apply false
19
+ id(" com.android.application" ) version " 8.8.0 " apply false
20
20
id(" org.jetbrains.kotlin.android" ) version " 2.1.0" apply false
21
21
id(" org.jetbrains.kotlin.plugin.compose" ) version " 2.1.0" apply false
22
22
}
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.11.1 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 86
86
# shellcheck disable=SC2034
87
87
APP_BASE_NAME=${0##*/ }
88
88
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89
- APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s
90
- ' " $PWD " ) || exit
89
+ APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s\n' " $PWD " ) || exit
91
90
92
91
# Use the maximum available, or set MAX_FD != -1 to use that value.
93
92
MAX_FD=maximum
Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ buildscript {
21
21
}
22
22
23
23
dependencies {
24
- classpath " com.android.tools.build:gradle:8.7.3 "
24
+ classpath " com.android.tools.build:gradle:8.8.0 "
25
25
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
26
26
classpath " androidx.navigation:navigation-safe-args-gradle-plugin:2.8.5"
27
27
classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.1.0"
28
28
}
29
29
}
30
30
31
31
plugins {
32
- id ' com.diffplug.spotless' version ' 6.25.0 '
32
+ id ' com.diffplug.spotless' version ' 7.0.2 '
33
33
}
34
34
35
35
allprojects {
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.11.1 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 86
86
# shellcheck disable=SC2034
87
87
APP_BASE_NAME=${0##*/ }
88
88
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89
- APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s
90
- ' " $PWD " ) || exit
89
+ APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s\n' " $PWD " ) || exit
91
90
92
91
# Use the maximum available, or set MAX_FD != -1 to use that value.
93
92
MAX_FD=maximum
Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ buildscript {
21
21
}
22
22
23
23
dependencies {
24
- classpath " com.android.tools.build:gradle:8.7.3 "
24
+ classpath " com.android.tools.build:gradle:8.8.0 "
25
25
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
26
26
classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.1.0"
27
27
}
28
28
}
29
29
30
30
plugins {
31
- id ' com.diffplug.spotless' version ' 6.25.0 '
31
+ id ' com.diffplug.spotless' version ' 7.0.2 '
32
32
}
33
33
34
34
subprojects {
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.11.1 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 86
86
# shellcheck disable=SC2034
87
87
APP_BASE_NAME=${0##*/ }
88
88
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89
- APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s
90
- ' " $PWD " ) || exit
89
+ APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s\n' " $PWD " ) || exit
91
90
92
91
# Use the maximum available, or set MAX_FD != -1 to use that value.
93
92
MAX_FD=maximum
Original file line number Diff line number Diff line change 1
1
[versions ]
2
2
coil = " 2.7.0"
3
- com-android-application = " 8.7.3 "
4
- desugar_jdk_libs = " 2.1.3 "
3
+ com-android-application = " 8.8.0 "
4
+ desugar_jdk_libs = " 2.1.4 "
5
5
kotlinx-datetime = " 0.6.1"
6
6
lifecycle-viewmodel-compose = " 2.8.7"
7
7
material-icons-core = " 1.7.6"
@@ -22,7 +22,7 @@ benchmark = "1.3.3"
22
22
androidx-baselineprofile = " 1.3.3"
23
23
profileinstaller = " 1.4.1"
24
24
material3 = " 1.3.1"
25
- spotless = " 6.25.0 "
25
+ spotless = " 7.0.2 "
26
26
ktlint = " 1.2.1"
27
27
28
28
[libraries ]
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.11.1 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 86
86
# shellcheck disable=SC2034
87
87
APP_BASE_NAME=${0##*/ }
88
88
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89
- APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s
90
- ' " $PWD " ) || exit
89
+ APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s\n' " $PWD " ) || exit
91
90
92
91
# Use the maximum available, or set MAX_FD != -1 to use that value.
93
92
MAX_FD=maximum
Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ buildscript {
21
21
}
22
22
23
23
dependencies {
24
- classpath " com.android.tools.build:gradle:8.7.3 "
24
+ classpath " com.android.tools.build:gradle:8.8.0 "
25
25
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
26
26
classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.1.0"
27
27
}
28
28
}
29
29
30
30
plugins {
31
- id ' com.diffplug.spotless' version ' 6.25.0 '
31
+ id ' com.diffplug.spotless' version ' 7.0.2 '
32
32
}
33
33
34
34
subprojects {
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.11.1 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 86
86
# shellcheck disable=SC2034
87
87
APP_BASE_NAME=${0##*/ }
88
88
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89
- APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s
90
- ' " $PWD " ) || exit
89
+ APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s\n' " $PWD " ) || exit
91
90
92
91
# Use the maximum available, or set MAX_FD != -1 to use that value.
93
92
MAX_FD=maximum
You can’t perform that action at this time.
0 commit comments