-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[All] Update to Compose 1.0.0-alpha06 (#261)
* [Jetsnack] Cart implementation * [Jetsnack] Reuse Quantity Selector * [Jetsnack] Reuse Destination Bar * [Jetsnack] Add Inspired By Section to Cart * [Jetsnack] Add Checkout Bar to cart * [Jetsnack] Fix Spotless issues * [Jetsnack] Fix review comments * [Jetsnack] Fix review comments * Update to snapshot 6922857. * [Jetsurvey] Bump to alpha06 * [Owl] Update to snapshot 6922857. * [JetChat] Update to snapshot 6922857 * [Rally] Update to snapshot 6922857 * [Jetcaster] Update to snapshot 6922857. * Removes unncessary elevation param * [Crane] Update to 6922857 snapshot (#246) * [Owl] Replace elevation overlay workaround with AmbientElevationOverlay. * [Jetchat] Replace elevation overlay workaround with AmbientElevationOverlay * [Jetsurvey] Redesigned next/prev buttons * [Jetsurvey] Redesigned progress indicator * [Jetsurvey] Adding elevation to the action bar * [Jetsurvey] Capitalising strings * [Jetsurvey] Question title redesigned * [Jetsurvey] Removing unused composable * [Jetsurvey] Removing the column usage in progress indicator * [Crane] Adds Hilt to the project (#237) * [JetNews] bump to alpha06 (#258) * [JetNews] bump to alpha06 * Fix unused modifier on BookmarkButton * Update all samples to AGP 4.2.0-alpha15 * Turn on allWarningsAsErrors in Jetsurvey * Tidy up gradle.properties We now have parallel compilation, caching and on-demand configuration enabled on all projects * Disable Jetifier where possible Only Crane requires Jetifier becuase it uses the Google Maps SDK. * Update all projects to ktlint 0.39.0 * Update snapshot URL * Update to Compose 1.0.0-alpha06 Co-authored-by: Jolanda Verhoef <[email protected]> Co-authored-by: Nick Butcher <[email protected]> Co-authored-by: Nick Butcher <[email protected]> Co-authored-by: Florina Muntenescu <[email protected]> Co-authored-by: Jose Alcerreca <[email protected]> Co-authored-by: Jolanda Verhoef <[email protected]> Co-authored-by: Jose Alcérreca <[email protected]> Co-authored-by: Florina Muntenescu <[email protected]> Co-authored-by: Manuel Vivo <[email protected]> Co-authored-by: Sean McQuillan <[email protected]>
- Loading branch information
1 parent
4ffcd3b
commit 4d21fa4
Showing
124 changed files
with
1,910 additions
and
830 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
/* | ||
* Copyright 2019 Google, Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
# | ||
# Copyright 2020 The Android Open Source Project | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
org.gradle.daemon=false | ||
org.gradle.parallel=true | ||
org.gradle.jvmargs=-Xmx5120m | ||
org.gradle.workers.max=2 | ||
org.gradle.daemon=false | ||
org.gradle.parallel=true | ||
org.gradle.jvmargs=-Xmx5120m | ||
org.gradle.workers.max=2 | ||
|
||
kotlin.incremental=false | ||
kotlin.compiler.execution.strategy=in-process | ||
kotlin.incremental=false | ||
kotlin.compiler.execution.strategy=in-process |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
Crane/app/src/androidTest/java/androidx/compose/samples/crane/CustomTestRunner.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Copyright 2020 The Android Open Source Project | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package androidx.compose.samples.crane | ||
|
||
import android.app.Application | ||
import android.content.Context | ||
import androidx.test.runner.AndroidJUnitRunner | ||
import dagger.hilt.android.testing.HiltTestApplication | ||
|
||
class CustomTestRunner : AndroidJUnitRunner() { | ||
override fun newApplication(cl: ClassLoader?, name: String?, context: Context?): Application { | ||
return super.newApplication(cl, HiltTestApplication::class.java.name, context) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
Crane/app/src/androidTest/java/androidx/compose/samples/crane/di/TestDispatchersModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* Copyright 2020 The Android Open Source Project | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
@file:Suppress("DEPRECATION") | ||
|
||
package androidx.compose.samples.crane.di | ||
|
||
import dagger.Module | ||
import dagger.Provides | ||
import dagger.hilt.InstallIn | ||
import dagger.hilt.android.components.ApplicationComponent | ||
import kotlinx.coroutines.CoroutineDispatcher | ||
import kotlinx.coroutines.Dispatchers | ||
import kotlinx.coroutines.ExperimentalCoroutinesApi | ||
|
||
@OptIn(ExperimentalCoroutinesApi::class) | ||
@Module | ||
@InstallIn(ApplicationComponent::class) | ||
class TestDispatchersModule { | ||
|
||
@Provides | ||
@DefaultDispatcher | ||
fun provideDefaultDispatcher(): CoroutineDispatcher = Dispatchers.Unconfined | ||
} |
Oops, something went wrong.