File tree 38 files changed +39
-53
lines changed
AdvancedStateAndSideEffectsCodelab
PerformanceCodelab/gradle/wrapper
38 files changed +39
-53
lines changed Original file line number Diff line number Diff line change 17
17
plugins {
18
18
id ' com.android.application'
19
19
id ' kotlin-android'
20
+ id ' org.jetbrains.kotlin.plugin.compose'
20
21
}
21
22
22
23
android {
@@ -79,10 +80,6 @@ android {
79
80
compose true
80
81
}
81
82
82
- composeOptions {
83
- kotlinCompilerExtensionVersion ' 1.5.14'
84
- }
85
-
86
83
packagingOptions {
87
84
excludes + = " /META-INF/AL2.0"
88
85
excludes + = " /META-INF/LGPL2.1"
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ buildscript {
28
28
29
29
plugins {
30
30
id ' com.diffplug.spotless' version ' 6.25.0'
31
+ id ' org.jetbrains.kotlin.plugin.compose' version " 2.0.0" apply false
31
32
}
32
33
33
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.6 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.8 -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 17
17
plugins {
18
18
id ' com.android.application'
19
19
id ' org.jetbrains.kotlin.android'
20
+ id ' org.jetbrains.kotlin.plugin.compose'
20
21
}
21
22
22
23
android {
@@ -52,9 +53,6 @@ android {
52
53
buildFeatures {
53
54
compose true
54
55
}
55
- composeOptions {
56
- kotlinCompilerExtensionVersion ' 1.5.14'
57
- }
58
56
packagingOptions {
59
57
resources {
60
58
excludes + = ' /META-INF/{AL2.0,LGPL2.1}'
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ buildscript {
21
21
dependencies {
22
22
classpath " com.android.tools.build:gradle:8.4.0"
23
23
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0"
24
+ classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.0.0"
24
25
}
25
26
}
26
27
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.6 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.8 -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 @@ -19,6 +19,7 @@ plugins {
19
19
id ' kotlin-android'
20
20
id ' kotlin-kapt'
21
21
id ' dagger.hilt.android.plugin'
22
+ id ' org.jetbrains.kotlin.plugin.compose'
22
23
}
23
24
24
25
// Reads the Google maps key that is used in the AndroidManifest
@@ -83,10 +84,6 @@ android {
83
84
shaders false
84
85
}
85
86
86
- composeOptions {
87
- kotlinCompilerExtensionVersion ' 1.5.14'
88
- }
89
-
90
87
packagingOptions {
91
88
// Multiple dependency bring these files in. Exclude them to enable
92
89
// our test APK to build (has no effect on our AARs)
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ buildscript {
23
23
classpath " com.android.tools.build:gradle:8.4.0"
24
24
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0"
25
25
classpath " com.google.dagger:hilt-android-gradle-plugin:2.51.1"
26
+ classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.0.0"
26
27
}
27
28
}
28
29
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.6 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.8 -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 @@ -22,6 +22,7 @@ buildscript {
22
22
dependencies {
23
23
classpath ' com.android.tools.build:gradle:8.4.0'
24
24
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0"
25
+ classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.0.0"
25
26
}
26
27
}
27
28
Original file line number Diff line number Diff line change 17
17
plugins {
18
18
id ' com.android.application'
19
19
id ' kotlin-android'
20
+ id ' org.jetbrains.kotlin.plugin.compose'
20
21
}
21
22
22
23
android {
@@ -39,9 +40,6 @@ android {
39
40
kotlinOptions {
40
41
jvmTarget = ' 1.8'
41
42
}
42
- composeOptions {
43
- kotlinCompilerExtensionVersion ' 1.5.14'
44
- }
45
43
}
46
44
47
45
dependencies {
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.6 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.8 -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 17
17
plugins {
18
18
id ' com.android.application'
19
19
id ' kotlin-android'
20
+ id ' org.jetbrains.kotlin.plugin.compose'
20
21
}
21
22
22
23
android {
@@ -39,9 +40,6 @@ android {
39
40
kotlinOptions {
40
41
jvmTarget = ' 1.8'
41
42
}
42
- composeOptions {
43
- kotlinCompilerExtensionVersion ' 1.5.14'
44
- }
45
43
}
46
44
47
45
dependencies {
Original file line number Diff line number Diff line change 17
17
plugins {
18
18
id ' com.android.application'
19
19
id ' org.jetbrains.kotlin.android'
20
+ id ' org.jetbrains.kotlin.plugin.compose'
20
21
}
21
22
22
23
android {
@@ -52,9 +53,6 @@ android {
52
53
buildFeatures {
53
54
compose true
54
55
}
55
- composeOptions {
56
- kotlinCompilerExtensionVersion ' 1.5.14'
57
- }
58
56
packagingOptions {
59
57
resources {
60
58
excludes + = ' /META-INF/{AL2.0,LGPL2.1}'
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ buildscript {
22
22
dependencies {
23
23
classpath " com.android.tools.build:gradle:8.4.0"
24
24
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0"
25
+ classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.0.0"
25
26
}
26
27
}
27
28
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.6 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.8 -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 17
17
plugins {
18
18
id(" com.android.application" )
19
19
id(" org.jetbrains.kotlin.android" )
20
+ id(" org.jetbrains.kotlin.plugin.compose" )
20
21
}
21
22
22
23
android {
@@ -55,9 +56,6 @@ android {
55
56
buildFeatures {
56
57
compose = true
57
58
}
58
- composeOptions {
59
- kotlinCompilerExtensionVersion = " 1.5.14"
60
- }
61
59
packaging {
62
60
resources {
63
61
excludes + = " /META-INF/{AL2.0,LGPL2.1}"
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ buildscript {
22
22
dependencies {
23
23
classpath ' com.android.tools.build:gradle:8.4.0'
24
24
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0"
25
+ classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.0.0"
25
26
}
26
27
}
27
28
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.6 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.8 -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 17
17
plugins {
18
18
id(" com.android.application" )
19
19
id(" org.jetbrains.kotlin.android" )
20
+ id(" org.jetbrains.kotlin.plugin.compose" )
20
21
}
21
22
22
23
android {
@@ -55,9 +56,6 @@ android {
55
56
buildFeatures {
56
57
compose = true
57
58
}
58
- composeOptions {
59
- kotlinCompilerExtensionVersion = " 1.5.14"
60
- }
61
59
packaging {
62
60
resources {
63
61
excludes + = " /META-INF/{AL2.0,LGPL2.1}"
Original file line number Diff line number Diff line change 18
18
plugins {
19
19
id(" com.android.application" ) version " 8.4.0" apply false
20
20
id(" org.jetbrains.kotlin.android" ) version " 2.0.0" apply false
21
+ id(" org.jetbrains.kotlin.plugin.compose" ) version " 2.0.0" apply false
21
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.6 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.8 -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 @@ -18,6 +18,8 @@ apply plugin: 'com.android.application'
18
18
apply plugin : ' kotlin-android'
19
19
apply plugin : ' kotlin-kapt'
20
20
apply plugin : ' androidx.navigation.safeargs.kotlin'
21
+ apply plugin : ' org.jetbrains.kotlin.plugin.compose'
22
+
21
23
22
24
android {
23
25
compileSdkVersion 34
@@ -49,9 +51,6 @@ android {
49
51
dataBinding true
50
52
compose true
51
53
}
52
- composeOptions {
53
- kotlinCompilerExtensionVersion ' 1.5.14'
54
- }
55
54
packagingOptions {
56
55
// Multiple dependency bring these files in. Exclude them to enable
57
56
// our test APK to build (has no effect on our AARs)
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ buildscript {
24
24
classpath " com.android.tools.build:gradle:8.4.0"
25
25
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0"
26
26
classpath " androidx.navigation:navigation-safe-args-gradle-plugin:2.7.7"
27
+ classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.0.0"
27
28
}
28
29
}
29
30
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.6 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.8 -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 17
17
plugins {
18
18
id ' com.android.application'
19
19
id ' kotlin-android'
20
+ id ' org.jetbrains.kotlin.plugin.compose'
20
21
}
21
22
22
23
android {
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ buildscript {
23
23
dependencies {
24
24
classpath " com.android.tools.build:gradle:8.4.0"
25
25
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0"
26
+ classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.0.0"
26
27
}
27
28
}
28
29
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.6 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.8 -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 1
1
# Tue May 16 11:33:31 AEST 2023
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.6 -bin.zip
4
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.8 -bin.zip
5
5
zipStoreBase =GRADLE_USER_HOME
6
6
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 17
17
plugins {
18
18
id ' com.android.application'
19
19
id ' kotlin-android'
20
+ id ' org.jetbrains.kotlin.plugin.compose'
20
21
}
21
22
22
23
android {
@@ -75,10 +76,6 @@ android {
75
76
shaders false
76
77
}
77
78
78
- composeOptions {
79
- kotlinCompilerExtensionVersion ' 1.5.14'
80
- }
81
-
82
79
packagingOptions {
83
80
exclude " META-INF/licenses/**"
84
81
exclude " META-INF/AL2.0"
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ buildscript {
23
23
dependencies {
24
24
classpath " com.android.tools.build:gradle:8.4.0"
25
25
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0"
26
+ classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.0.0"
26
27
}
27
28
}
28
29
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.6 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.8 -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 17
17
plugins {
18
18
id ' com.android.application'
19
19
id ' kotlin-android'
20
+ id ' org.jetbrains.kotlin.plugin.compose'
20
21
}
21
22
22
23
android {
@@ -79,10 +80,6 @@ android {
79
80
compose true
80
81
}
81
82
82
- composeOptions {
83
- kotlinCompilerExtensionVersion ' 1.5.14'
84
- }
85
-
86
83
packagingOptions {
87
84
excludes + = " /META-INF/AL2.0"
88
85
excludes + = " /META-INF/LGPL2.1"
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ buildscript {
23
23
dependencies {
24
24
classpath ' com.android.tools.build:gradle:8.4.0'
25
25
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0"
26
+ classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.0.0"
26
27
}
27
28
}
28
29
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.6 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.8 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments