Update -compose integration libraries to depend on Compose 1.0.1
Compose 1.0.1 is compiled against Kotlin 1.5.21. This matches
the version of Kotlin at HEAD in androidx-main so it is possible
to pin the Compose and Runtime.
Generated by running:
```
find . -name "build.gradle" | grep "\-compose" | grep -v "integration-tests" | xargs sed -i "s/projectOrArtifact(\":compose:compiler:compiler\")/\"androidx.compose.compiler:compiler:1.0.1\"/g"
find . -name "build.gradle" | grep "\-compose" | grep -v "integration-tests" | xargs sed -i "s/projectOrArtifact(\":compose:runtime:runtime\")/\"androidx.compose.runtime:runtime:1.0.1\"/g"
find . -name "build.gradle" | grep "\-compose" | grep -v "integration-tests" | xargs sed -i "s/projectOrArtifact(\":compose:runtime:runtime-saveable\")/\"androidx.compose.runtime:runtime-saveable:1.0.1\"/g"
find . -name "build.gradle" | grep "\-compose" | grep -v "integration-tests" | xargs sed -i "s/project(\":compose:compiler:compiler\")/\"androidx.compose.compiler:compiler:1.0.1\"/g"
find . -name "build.gradle" | grep "\-compose" | grep -v "integration-tests" | xargs sed -i "s/project(\":compose:runtime:runtime\")/\"androidx.compose.runtime:runtime:1.0.1\"/g"
find . -name "build.gradle" | grep "\-compose" | grep -v "integration-tests" | xargs sed -i "s/project(\":compose:runtime:runtime-saveable\")/\"androidx.compose.runtime:runtime-saveable:1.0.1\"/g"
find . -name "build.gradle" | grep "\-compose" | grep -v "integration-tests" | xargs sed -i "s/1.0.0-rc02\"/1.0.1\"/g"
```
Test: gw compileReleaseKotlin
Test: gw bOS
Change-Id: Ia63ca09c216634a73a70cb87386e8cbbafd898c4
diff --git a/activity/activity-compose/build.gradle b/activity/activity-compose/build.gradle
index c9c5b9e..5bd8c97 100644
--- a/activity/activity-compose/build.gradle
+++ b/activity/activity-compose/build.gradle
@@ -26,13 +26,13 @@
}
dependencies {
- kotlinPlugin(projectOrArtifact(":compose:compiler:compiler"))
+ kotlinPlugin("androidx.compose.compiler:compiler:1.0.1")
implementation(libs.kotlinStdlib)
- api(projectOrArtifact(":compose:runtime:runtime"))
- api(projectOrArtifact(":compose:runtime:runtime-saveable"))
+ api("androidx.compose.runtime:runtime:1.0.1")
+ api("androidx.compose.runtime:runtime-saveable:1.0.1")
api(projectOrArtifact(":activity:activity-ktx"))
- api("androidx.compose.ui:ui:1.0.0-rc02")
+ api("androidx.compose.ui:ui:1.0.1")
androidTestImplementation projectOrArtifact(":compose:ui:ui-test-junit4")
androidTestImplementation projectOrArtifact(":compose:material:material")
diff --git a/activity/activity-compose/samples/build.gradle b/activity/activity-compose/samples/build.gradle
index db3752a..4a7171c 100644
--- a/activity/activity-compose/samples/build.gradle
+++ b/activity/activity-compose/samples/build.gradle
@@ -25,14 +25,14 @@
}
dependencies {
- kotlinPlugin(projectOrArtifact(":compose:compiler:compiler"))
+ kotlinPlugin("androidx.compose.compiler:compiler:1.0.1")
implementation(libs.kotlinStdlib)
compileOnly projectOrArtifact(":annotation:annotation-sampled")
- implementation "androidx.compose.foundation:foundation:1.0.0-rc02"
+ implementation "androidx.compose.foundation:foundation:1.0.1"
implementation projectOrArtifact(":activity:activity-compose")
implementation projectOrArtifact(":activity:activity-ktx")
- implementation "androidx.compose.material:material:1.0.0-rc02"
+ implementation "androidx.compose.material:material:1.0.1"
}
androidx {
diff --git a/hilt/hilt-navigation-compose/build.gradle b/hilt/hilt-navigation-compose/build.gradle
index 1989f53..078d991 100644
--- a/hilt/hilt-navigation-compose/build.gradle
+++ b/hilt/hilt-navigation-compose/build.gradle
@@ -35,12 +35,12 @@
}
dependencies {
- kotlinPlugin(project(":compose:compiler:compiler"))
+ kotlinPlugin("androidx.compose.compiler:compiler:1.0.1")
implementation(libs.kotlinStdlib)
api("androidx.hilt:hilt-navigation:1.0.0")
- api(project(":compose:runtime:runtime"))
- api("androidx.compose.ui:ui:1.0.0-rc02")
+ api("androidx.compose.runtime:runtime:1.0.1")
+ api("androidx.compose.ui:ui:1.0.1")
api("androidx.lifecycle:lifecycle-viewmodel-compose:1.0.0-alpha07")
api(projectOrArtifact(":navigation:navigation-compose"))
diff --git a/hilt/hilt-navigation-compose/samples/build.gradle b/hilt/hilt-navigation-compose/samples/build.gradle
index 3c00b2c..8eec1e3 100644
--- a/hilt/hilt-navigation-compose/samples/build.gradle
+++ b/hilt/hilt-navigation-compose/samples/build.gradle
@@ -27,7 +27,7 @@
}
dependencies {
- kotlinPlugin(project(":compose:compiler:compiler"))
+ kotlinPlugin("androidx.compose.compiler:compiler:1.0.1")
implementation(libs.kotlinStdlib)
compileOnly(projectOrArtifact(":annotation:annotation-sampled"))
diff --git a/lifecycle/lifecycle-viewmodel-compose/build.gradle b/lifecycle/lifecycle-viewmodel-compose/build.gradle
index 6bf586b..5346124 100644
--- a/lifecycle/lifecycle-viewmodel-compose/build.gradle
+++ b/lifecycle/lifecycle-viewmodel-compose/build.gradle
@@ -27,11 +27,11 @@
}
dependencies {
- kotlinPlugin(projectOrArtifact(":compose:compiler:compiler"))
+ kotlinPlugin("androidx.compose.compiler:compiler:1.0.1")
api "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.0"
- api(projectOrArtifact(":compose:runtime:runtime"))
- api "androidx.compose.ui:ui:1.0.0-rc02"
+ api("androidx.compose.runtime:runtime:1.0.1")
+ api "androidx.compose.ui:ui:1.0.1"
implementation(libs.kotlinStdlib)
diff --git a/lifecycle/lifecycle-viewmodel-compose/samples/build.gradle b/lifecycle/lifecycle-viewmodel-compose/samples/build.gradle
index f4fcc19..70c9431 100644
--- a/lifecycle/lifecycle-viewmodel-compose/samples/build.gradle
+++ b/lifecycle/lifecycle-viewmodel-compose/samples/build.gradle
@@ -26,7 +26,7 @@
}
dependencies {
- kotlinPlugin(projectOrArtifact(":compose:compiler:compiler"))
+ kotlinPlugin("androidx.compose.compiler:compiler:1.0.1")
implementation(libs.kotlinStdlib)
implementation projectOrArtifact(":lifecycle:lifecycle-viewmodel-compose")
}
diff --git a/navigation/navigation-compose/build.gradle b/navigation/navigation-compose/build.gradle
index 564c176..6448a7e 100644
--- a/navigation/navigation-compose/build.gradle
+++ b/navigation/navigation-compose/build.gradle
@@ -26,15 +26,15 @@
}
dependencies {
- kotlinPlugin(projectOrArtifact(":compose:compiler:compiler"))
+ kotlinPlugin("androidx.compose.compiler:compiler:1.0.1")
implementation(libs.kotlinStdlib)
- implementation("androidx.compose.foundation:foundation-layout:1.0.0-rc02")
+ implementation("androidx.compose.foundation:foundation-layout:1.0.1")
api("androidx.activity:activity-compose:1.3.0-rc02")
- api("androidx.compose.animation:animation:1.0.0-rc02")
- api(projectOrArtifact(":compose:runtime:runtime"))
- api(projectOrArtifact(":compose:runtime:runtime-saveable"))
- api("androidx.compose.ui:ui:1.0.0-rc02")
+ api("androidx.compose.animation:animation:1.0.1")
+ api("androidx.compose.runtime:runtime:1.0.1")
+ api("androidx.compose.runtime:runtime-saveable:1.0.1")
+ api("androidx.compose.ui:ui:1.0.1")
api("androidx.lifecycle:lifecycle-viewmodel-compose:1.0.0-alpha07")
api(projectOrArtifact(":navigation:navigation-runtime-ktx"))
diff --git a/navigation/navigation-compose/samples/build.gradle b/navigation/navigation-compose/samples/build.gradle
index 192e019..088d404 100644
--- a/navigation/navigation-compose/samples/build.gradle
+++ b/navigation/navigation-compose/samples/build.gradle
@@ -25,13 +25,13 @@
}
dependencies {
- kotlinPlugin(projectOrArtifact(":compose:compiler:compiler"))
+ kotlinPlugin("androidx.compose.compiler:compiler:1.0.1")
implementation(libs.kotlinStdlib)
compileOnly(projectOrArtifact(":annotation:annotation-sampled"))
- implementation("androidx.compose.foundation:foundation:1.0.0-rc02")
+ implementation("androidx.compose.foundation:foundation:1.0.1")
implementation(projectOrArtifact(":navigation:navigation-compose"))
- implementation("androidx.compose.material:material:1.0.0-rc02")
+ implementation("androidx.compose.material:material:1.0.1")
}
androidx {
diff --git a/paging/paging-compose/build.gradle b/paging/paging-compose/build.gradle
index f6892b8..de8ffd0 100644
--- a/paging/paging-compose/build.gradle
+++ b/paging/paging-compose/build.gradle
@@ -28,10 +28,10 @@
}
dependencies {
- kotlinPlugin(projectOrArtifact(":compose:compiler:compiler"))
+ kotlinPlugin("androidx.compose.compiler:compiler:1.0.1")
implementation(libs.kotlinStdlib)
- api(projectOrArtifact(":compose:foundation:foundation"))
+ api("androidx.compose.foundation:foundation:1.0.1")
api("androidx.paging:paging-common:3.0.0")
androidTestImplementation(projectOrArtifact(":compose:ui:ui-test-junit4"))
diff --git a/paging/paging-compose/samples/build.gradle b/paging/paging-compose/samples/build.gradle
index 8bd229e..5b7a3c1 100644
--- a/paging/paging-compose/samples/build.gradle
+++ b/paging/paging-compose/samples/build.gradle
@@ -26,12 +26,12 @@
}
dependencies {
- kotlinPlugin(projectOrArtifact(":compose:compiler:compiler"))
+ kotlinPlugin("androidx.compose.compiler:compiler:1.0.1")
implementation(libs.kotlinStdlib)
compileOnly(projectOrArtifact(":annotation:annotation-sampled"))
- implementation("androidx.compose.foundation:foundation:1.0.0-rc02")
- implementation("androidx.compose.material:material:1.0.0-rc02")
+ implementation("androidx.compose.foundation:foundation:1.0.1")
+ implementation("androidx.compose.material:material:1.0.1")
implementation(projectOrArtifact(":paging:paging-compose"))
}