File tree 28 files changed +43
-52
lines changed
AdvancedStateAndSideEffectsCodelab
28 files changed +43
-52
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.1 '
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 @@ -125,8 +125,8 @@ dependencies {
125
125
implementation " androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycle_version "
126
126
implementation " androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version "
127
127
implementation " androidx.lifecycle:lifecycle-runtime-compose:$lifecycle_version "
128
- implementation " com.google.dagger:hilt-android:2.53.1 "
129
- kapt " com.google.dagger:hilt-compiler:2.53.1 "
128
+ implementation " com.google.dagger:hilt-android:2.54 "
129
+ kapt " com.google.dagger:hilt-compiler:2.55 "
130
130
131
131
implementation " io.coil-kt:coil-compose:2.7.0"
132
132
@@ -137,7 +137,7 @@ dependencies {
137
137
androidTestImplementation " androidx.test.espresso:espresso-core:3.6.1"
138
138
androidTestImplementation " androidx.test.ext:junit-ktx:1.2.1"
139
139
androidTestImplementation " org.jetbrains.kotlinx:kotlinx-coroutines-test:1.9.0"
140
- androidTestImplementation " com.google.dagger:hilt-android:2.53.1 "
141
- androidTestImplementation " com.google.dagger:hilt-android-testing:2.53.1 "
142
- kaptAndroidTest " com.google.dagger:hilt-compiler:2.53.1 "
140
+ androidTestImplementation " com.google.dagger:hilt-android:2.54 "
141
+ androidTestImplementation " com.google.dagger:hilt-android-testing:2.55 "
142
+ kaptAndroidTest " com.google.dagger:hilt-compiler:2.55 "
143
143
}
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.1 '
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 @@ -19,14 +19,14 @@ buildscript {
19
19
mavenCentral()
20
20
}
21
21
dependencies {
22
- classpath " com.android.tools.build:gradle:8.7.3 "
22
+ classpath " com.android.tools.build:gradle:8.8.0 "
23
23
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
24
24
classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.1.0"
25
25
}
26
26
}
27
27
28
28
plugins {
29
- id ' com.diffplug.spotless' version ' 6.25.0 '
29
+ id ' com.diffplug.spotless' version ' 7.0.1 '
30
30
}
31
31
32
32
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 @@ -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.1 '
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.1 '
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"
8
- media3 = " 1.5.0 "
8
+ media3 = " 1.5.1 "
9
9
org-jetbrains-kotlin-android = " 2.1.0"
10
10
core-ktx = " 1.15.0"
11
11
junit = " 4.13.2"
@@ -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.1 "
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 @@ -48,14 +48,14 @@ buildscript {
48
48
}
49
49
50
50
dependencies {
51
- classpath " com.android.tools.build:gradle:8.7.3 "
51
+ classpath " com.android.tools.build:gradle:8.8.0 "
52
52
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion "
53
53
classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:$kotlinVersion "
54
54
}
55
55
}
56
56
57
57
plugins {
58
- id ' com.diffplug.spotless' version ' 6.25.0 '
58
+ id ' com.diffplug.spotless' version ' 7.0.1 '
59
59
}
60
60
61
61
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 @@ -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.1 '
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