Skip to content

Commit 0a6ca1d

Browse files
authored
[All] Compose 1.0.0 πŸŽ‰ (#610)
* Update Android Studio recommended version * Update other dependencies * Compose 1.0.0 πŸŽ‰
1 parent 4bc9d3e commit 0a6ca1d

File tree

16 files changed

+59
-59
lines changed

16 files changed

+59
-59
lines changed

β€ŽCrane/README.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Studies built with [Jetpack Compose](https://developer.android.com/jetpack/compo
55
The goal of the sample is to showcase Material components, draggable UI elements, Android Views
66
inside Compose, and UI state handling.
77

8-
To try out this sample app, you need to use the latest version of [Android Studio Arctic Fox](https://developer.android.com/studio/preview).
8+
To try out this sample app, you need to use [Android Studio Arctic Fox](https://developer.android.com/studio).
99
You can clone this repository or import the
1010
project from Android Studio following the steps
1111
[here](https://developer.android.com/jetpack/compose/setup#sample).

β€ŽCrane/buildSrc/src/main/java/com/example/crane/buildsrc/Dependencies.ktβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ object Versions {
2121
}
2222

2323
object Libs {
24-
const val androidGradlePlugin = "com.android.tools.build:gradle:7.0.0-rc01"
24+
const val androidGradlePlugin = "com.android.tools.build:gradle:7.0.0"
2525
const val ktLint = "com.pinterest:ktlint:${Versions.ktLint}"
2626

2727
object GoogleMaps {
@@ -34,7 +34,7 @@ object Libs {
3434
}
3535

3636
object Accompanist {
37-
const val version = "0.14.0"
37+
const val version = "0.15.0"
3838
const val insets = "com.google.accompanist:accompanist-insets:$version"
3939
}
4040

@@ -45,22 +45,22 @@ object Libs {
4545
const val extensions = "org.jetbrains.kotlin:kotlin-android-extensions:$version"
4646

4747
object Coroutines {
48-
private const val version = "1.4.2"
48+
private const val version = "1.5.0"
4949
const val android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$version"
5050
const val test = "org.jetbrains.kotlinx:kotlinx-coroutines-test:$version"
5151
}
5252
}
5353

5454
object AndroidX {
5555
object Activity {
56-
const val activityCompose = "androidx.activity:activity-compose:1.3.0-rc01"
56+
const val activityCompose = "androidx.activity:activity-compose:1.3.0"
5757
}
5858

5959
const val appcompat = "androidx.appcompat:appcompat:1.3.0"
6060

6161
object Compose {
6262
const val snapshot = ""
63-
const val version = "1.0.0-rc02"
63+
const val version = "1.0.0"
6464

6565
const val runtime = "androidx.compose.runtime:runtime:$version"
6666
const val runtimeLivedata = "androidx.compose.runtime:runtime-livedata:$version"

β€ŽJetNews/README.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Jetnews is a sample news reading app, built with
33
[Jetpack Compose](https://developer.android.com/jetpack/compose). The goal of the sample is to
44
showcase the current UI capabilities of Compose.
55

6-
To try out this sample app, you need to use the latest version of
7-
[Android Studio Arctic Fox](https://developer.android.com/studio/preview).
6+
To try out this sample app, you need to use
7+
[Android Studio Arctic Fox](https://developer.android.com/studio).
88
You can clone this repository or import the
99
project from Android Studio following the steps
1010
[here](https://developer.android.com/jetpack/compose/setup#sample).

β€ŽJetNews/app/build.gradleβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@ dependencies {
108108

109109
implementation 'androidx.appcompat:appcompat:1.3.0'
110110
implementation 'androidx.activity:activity-ktx:1.2.3'
111-
implementation 'androidx.core:core-ktx:1.6.0-rc01'
112-
implementation "androidx.activity:activity-compose:1.3.0-rc01"
111+
implementation 'androidx.core:core-ktx:1.6.0'
112+
implementation "androidx.activity:activity-compose:1.3.0"
113113

114114
implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:2.3.1"
115115
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.3.1"
116116
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:1.0.0-alpha07"
117117

118-
implementation 'androidx.navigation:navigation-compose:2.4.0-alpha04'
118+
implementation 'androidx.navigation:navigation-compose:2.4.0-alpha05'
119119

120120
androidTestImplementation 'androidx.test:rules:1.3.0'
121121
androidTestImplementation 'androidx.test:runner:1.3.0'

β€ŽJetNews/build.gradleβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616

1717
buildscript {
1818
ext.kotlin_version = '1.5.10'
19-
ext.compose_version = '1.0.0-rc02'
20-
ext.coroutines_version = '1.4.2'
21-
ext.accompanist_version = '0.14.0'
19+
ext.compose_version = '1.0.0'
20+
ext.coroutines_version = '1.5.0'
21+
ext.accompanist_version = '0.15.0'
2222

2323
repositories {
2424
google()
2525
mavenCentral()
2626
}
2727

2828
dependencies {
29-
classpath 'com.android.tools.build:gradle:7.0.0-rc01'
29+
classpath 'com.android.tools.build:gradle:7.0.0'
3030
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
3131
}
3232
}

β€ŽJetcaster/README.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
Jetcaster is a sample podcast app, built with [Jetpack Compose][compose]. The goal of the sample is to
66
showcase dynamic theming and full featured architecture.
77

8-
To try out this sample app, you need to use the latest version of
9-
[Android Studio Arctic Fox](https://developer.android.com/studio/preview).
8+
To try out this sample app, you need to use
9+
[Android Studio Arctic Fox](https://developer.android.com/studio).
1010
You can clone this repository or import the
1111
project from Android Studio following the steps
1212
[here](https://developer.android.com/jetpack/compose/setup#sample).

β€ŽJetcaster/buildSrc/src/main/java/com/example/jetcaster/buildsrc/dependencies.ktβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ object Versions {
2121
}
2222

2323
object Libs {
24-
const val androidGradlePlugin = "com.android.tools.build:gradle:7.0.0-rc01"
25-
const val jdkDesugar = "com.android.tools:desugar_jdk_libs:1.0.9"
24+
const val androidGradlePlugin = "com.android.tools.build:gradle:7.0.0"
25+
const val jdkDesugar = "com.android.tools:desugar_jdk_libs:1.1.5"
2626

2727
object Accompanist {
28-
const val version = "0.14.0"
28+
const val version = "0.15.0"
2929
const val insets = "com.google.accompanist:accompanist-insets:$version"
3030
const val pager = "com.google.accompanist:accompanist-pager:$version"
3131
}
@@ -59,19 +59,19 @@ object Libs {
5959
const val appcompat = "androidx.appcompat:appcompat:1.2.0"
6060
const val palette = "androidx.palette:palette:1.0.0"
6161

62-
const val coreKtx = "androidx.core:core-ktx:1.6.0-rc01"
62+
const val coreKtx = "androidx.core:core-ktx:1.6.0"
6363

6464
object Activity {
65-
const val activityCompose = "androidx.activity:activity-compose:1.3.0-rc01"
65+
const val activityCompose = "androidx.activity:activity-compose:1.3.0"
6666
}
6767

6868
object Constraint {
69-
const val constraintLayoutCompose = "androidx.constraintlayout:constraintlayout-compose:1.0.0-alpha08"
69+
const val constraintLayoutCompose = "androidx.constraintlayout:constraintlayout-compose:1.0.0-beta01"
7070
}
7171

7272
object Compose {
7373
const val snapshot = ""
74-
const val version = "1.0.0-rc02"
74+
const val version = "1.0.0"
7575

7676
@get:JvmStatic
7777
val snapshotUrl: String

β€ŽJetchat/README.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
Jetchat is a sample chat app built with [Jetpack Compose][compose].
66

7-
To try out this sample app, you need to use the latest version of
8-
[Android Studio Arctic Fox](https://developer.android.com/studio/preview)
7+
To try out this sample app, you need to use
8+
[Android Studio Arctic Fox](https://developer.android.com/studio)
99
You can clone this repository or import the
1010
project from Android Studio following the steps
1111
[here](https://developer.android.com/jetpack/compose/setup#sample).

β€ŽJetchat/buildSrc/src/main/java/com/example/compose/jetchat/buildsrc/dependencies.ktβ€Ž

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ object Versions {
2121
}
2222

2323
object Libs {
24-
const val androidGradlePlugin = "com.android.tools.build:gradle:7.0.0-rc01"
25-
const val jdkDesugar = "com.android.tools:desugar_jdk_libs:1.0.9"
24+
const val androidGradlePlugin = "com.android.tools.build:gradle:7.0.0"
25+
const val jdkDesugar = "com.android.tools:desugar_jdk_libs:1.1.5"
2626

2727
const val junit = "junit:junit:4.13"
2828

2929
const val material = "com.google.android.material:material:1.3.0"
3030

3131
object Accompanist {
32-
const val version = "0.14.0"
32+
const val version = "0.15.0"
3333
const val insets = "com.google.accompanist:accompanist-insets:$version"
3434
}
3535

@@ -49,15 +49,15 @@ object Libs {
4949

5050
object AndroidX {
5151
const val appcompat = "androidx.appcompat:appcompat:1.3.0"
52-
const val coreKtx = "androidx.core:core-ktx:1.6.0-rc01"
52+
const val coreKtx = "androidx.core:core-ktx:1.6.0"
5353

5454
object Activity {
55-
const val activityCompose = "androidx.activity:activity-compose:1.3.0-rc01"
55+
const val activityCompose = "androidx.activity:activity-compose:1.3.0"
5656
}
5757

5858
object Compose {
5959
const val snapshot = ""
60-
const val version = "1.0.0-rc02"
60+
const val version = "1.0.0"
6161

6262
const val foundation = "androidx.compose.foundation:foundation:$version"
6363
const val layout = "androidx.compose.foundation:foundation-layout:$version"

β€ŽJetsnack/README.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
Jetsnack is a sample snack ordering app built with [Jetpack Compose][compose].
44

5-
To try out this sample app, you need to use the latest version of
6-
[Android Studio Arctic Fox](https://developer.android.com/studio/preview).
5+
To try out this sample app, you need to use
6+
[Android Studio Arctic Fox](https://developer.android.com/studio).
77
You can clone this repository or import the
88
project from Android Studio following the steps
99
[here](https://developer.android.com/jetpack/compose/setup#sample).

0 commit comments

Comments
Β (0)