Skip to content

Commit

Permalink
Build: Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghai committed Jun 13, 2024
1 parent 933fed3 commit a6fcf53
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ android {
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0")

implementation(platform("androidx.compose:compose-bom:2024.05.00"))
implementation(platform("androidx.compose:compose-bom:2024.06.00"))
implementation("androidx.compose.animation:animation-graphics")
implementation("androidx.compose.material:material-icons-extended")
implementation("androidx.compose.material3:material3:1.3.0-beta01")
implementation("androidx.compose.material3:material3:1.3.0-beta03")
implementation("androidx.compose.ui:ui")
implementation("androidx.compose.ui:ui-graphics")
implementation("androidx.compose.ui:ui-tooling-preview")
Expand All @@ -86,7 +86,7 @@ dependencies {

implementation("androidx.activity:activity-compose:1.9.0")
implementation("androidx.core:core-ktx:1.13.1")
implementation("androidx.lifecycle:lifecycle-runtime-compose:2.7.0")
implementation("androidx.lifecycle:lifecycle-runtime-compose:2.8.2")
implementation("androidx.navigation:navigation-compose:2.7.7")

implementation("com.github.zhanghai.quickjs-java:quickjs-android:0.9.3")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ import androidx.compose.material3.LocalTextStyle
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.OutlinedTextField
import androidx.compose.material3.Text
import androidx.compose.material3.TextDefaults
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.AnnotatedString
import androidx.compose.ui.text.SpanStyle
import androidx.compose.ui.text.TextLinkStyles
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.fromHtml
import androidx.compose.ui.text.style.TextDecoration
Expand Down Expand Up @@ -84,18 +84,15 @@ fun RuleView(
val supportingText =
AnnotatedString.fromHtml(
stringResource(R.string.rule_script_supporting_text),
)
Text(
text = supportingText,
linkStyles =
TextDefaults.linkStyles(
linkStyle =
TextLinkStyles(
style =
SpanStyle(
color = MaterialTheme.colorScheme.secondary,
textDecoration = TextDecoration.Underline
)
)
)
)
Text(text = supportingText)
}
)
}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.android.application") version "8.4.1" apply false
id("com.android.application") version "8.4.2" apply false
val kotlinVersion = "2.0.0"
kotlin("android") version kotlinVersion apply false
kotlin("plugin.compose") version kotlinVersion apply false
Expand Down

0 comments on commit a6fcf53

Please sign in to comment.