Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump AGP version, compile iOS in CI #306

Merged
merged 1 commit into from
Apr 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
java-version: 17
- name: Build with Gradle
run: |
./gradlew assembleDebug
./gradlew assembleDebug :shared:linkDebugFrameworkIosArm64
7 changes: 7 additions & 0 deletions androidApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,10 @@ dependencies {
compose {
kotlinCompilerPlugin.set(libs.versions.compose.compiler.get())
}

configurations.configureEach {
if (name.endsWith("RuntimeClasspath")) {
// See https://github.com/Tlaster/PreCompose/issues/317
exclude("androidx.compose.ui", "ui-test-junit4-android")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class AndroidApplicationPlugin : Plugin<Project> {
}

internal fun Project.configureKotlinAndroid(
commonExtension: CommonExtension<*, *, *, *, *>,
commonExtension: CommonExtension<*, *, *, *, *, *>,
) {
commonExtension.apply {
compileSdk = libs.findVersion("sdk.compile").get().displayName.toInt()
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ compose = "1.6.4"
compose-compiler = "1.5.11-kt-2.0.0-RC1"
compose-plugin = "1.6.2"
precompose = "1.6.0"
android-gradle-plugin = "8.2.2"
android-gradle-plugin = "8.3.2"
kotlin = "2.0.0-RC1"
coroutines = "1.8.0"
material3 = "1.2.1"
Expand Down
Loading