Skip to content

Commit

Permalink
Upgrade compose to latest beta, 07 in compose project.
Browse files Browse the repository at this point in the history
Also upgrades kotlin version in compose project to 1.4.32.
  • Loading branch information
zach-klippenstein committed May 19, 2021
1 parent 354eb5b commit 39190a6
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
1 change: 0 additions & 1 deletion compose/.buildscript/configure-compose.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ android {
compose true
}
composeOptions {
kotlinCompilerVersion Versions.kotlin
kotlinCompilerExtensionVersion Versions.compose
}
}
1 change: 0 additions & 1 deletion compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ android {
compose true
}
composeOptions {
kotlinCompilerVersion "1.4.0-dev-withExperimentalGoogleExtensions-20200720"
kotlinCompilerExtensionVersion "${compose_version}"
}
}
Expand Down
1 change: 0 additions & 1 deletion compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ subprojects {
// https://developer.android.com/jetpack/androidx/releases/compose-runtime
freeCompilerArgs += listOf(
"-Xopt-in=kotlin.RequiresOptIn",
"-Xallow-jvm-ir-dependencies",
"-Xskip-prerelease-check"
)

Expand Down
4 changes: 2 additions & 2 deletions compose/buildSrc/src/main/java/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import java.util.Locale.US
import kotlin.reflect.full.declaredMembers

object Versions {
const val compose = "1.0.0-beta02"
const val kotlin = "1.4.31"
const val compose = "1.0.0-beta07"
const val kotlin = "1.4.32"

// This *is* actually used.
@Suppress("unused")
Expand Down
11 changes: 11 additions & 0 deletions compose/compose-tooling/src/androidTest/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.squareup.workflow.ui.compose.tooling.test">

<application>
<!-- Required for createComposeRule. -->
<activity
android:name="androidx.activity.ComponentActivity"
android:theme="@android:style/Theme.Material.NoActionBar.Fullscreen" />
</application>
</manifest>
2 changes: 1 addition & 1 deletion compose/core-compose/src/androidTest/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<application>
<!-- Required for createComposeRule. -->
<activity
android:name="android.app.Activity"
android:name="androidx.activity.ComponentActivity"
android:theme="@android:style/Theme.Material.NoActionBar.Fullscreen" />
</application>
</manifest>

0 comments on commit 39190a6

Please sign in to comment.