Update dependencies
This commit is contained in:
parent
27a636a4a2
commit
b9a8c92c12
5 changed files with 14 additions and 11 deletions
|
|
@ -1,12 +1,12 @@
|
||||||
val accompanistVersion = "0.24.13-rc"
|
val accompanistVersion = "0.26.0-alpha"
|
||||||
val composeVersion = "1.3.0-alpha01"
|
val composeVersion = "1.3.0-alpha02"
|
||||||
val ktorVersion = "2.0.3"
|
val ktorVersion = "2.0.3"
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.application")
|
id("com.android.application")
|
||||||
id("kotlin-android")
|
id("kotlin-android")
|
||||||
id("com.google.devtools.ksp") version "1.7.0-1.0.6"
|
id("com.google.devtools.ksp") version "1.7.10-1.0.6"
|
||||||
kotlin("plugin.serialization") version "1.6.21"
|
kotlin("plugin.serialization") version "1.7.10"
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
|
@ -51,7 +51,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
buildFeatures.compose = true
|
buildFeatures.compose = true
|
||||||
composeOptions.kotlinCompilerExtensionVersion = "1.2.0"
|
composeOptions.kotlinCompilerExtensionVersion = "1.3.0-rc01"
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
@ -60,15 +60,15 @@ dependencies {
|
||||||
// core dependencies
|
// core dependencies
|
||||||
implementation("androidx.appcompat:appcompat:1.4.2")
|
implementation("androidx.appcompat:appcompat:1.4.2")
|
||||||
implementation("androidx.core:core-ktx:1.8.0")
|
implementation("androidx.core:core-ktx:1.8.0")
|
||||||
implementation("androidx.core:core-splashscreen:1.0.0-rc01")
|
implementation("androidx.core:core-splashscreen:1.0.0")
|
||||||
implementation("com.android:zipflinger:7.4.0-alpha07")
|
implementation("com.android:zipflinger:7.4.0-alpha08")
|
||||||
// implementation("com.github.Aliucord:libzip:1.0.0")
|
// implementation("com.github.Aliucord:libzip:1.0.0")
|
||||||
|
|
||||||
// compose dependencies
|
// compose dependencies
|
||||||
implementation("androidx.compose.ui:ui:${composeVersion}")
|
implementation("androidx.compose.ui:ui:${composeVersion}")
|
||||||
implementation("androidx.compose.ui:ui-tooling:${composeVersion}")
|
implementation("androidx.compose.ui:ui-tooling:${composeVersion}")
|
||||||
implementation("androidx.compose.material:material-icons-extended:${composeVersion}")
|
implementation("androidx.compose.material:material-icons-extended:${composeVersion}")
|
||||||
implementation("androidx.compose.material3:material3:1.0.0-alpha14")
|
implementation("androidx.compose.material3:material3:1.0.0-alpha15")
|
||||||
implementation("androidx.paging:paging-compose:1.0.0-alpha15")
|
implementation("androidx.paging:paging-compose:1.0.0-alpha15")
|
||||||
|
|
||||||
// accompanist dependencies
|
// accompanist dependencies
|
||||||
|
|
@ -76,8 +76,8 @@ dependencies {
|
||||||
implementation("com.google.accompanist:accompanist-permissions:${accompanistVersion}")
|
implementation("com.google.accompanist:accompanist-permissions:${accompanistVersion}")
|
||||||
|
|
||||||
// compose destinations
|
// compose destinations
|
||||||
implementation("io.github.raamcosta.compose-destinations:core:1.6.12-beta")
|
implementation("io.github.raamcosta.compose-destinations:core:1.7.15-beta")
|
||||||
ksp("io.github.raamcosta.compose-destinations:ksp:1.6.12-beta")
|
ksp("io.github.raamcosta.compose-destinations:ksp:1.7.15-beta")
|
||||||
|
|
||||||
// other dependencies
|
// other dependencies
|
||||||
implementation("io.coil-kt:coil-compose:2.1.0")
|
implementation("io.coil-kt:coil-compose:2.1.0")
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@ private val Destination.title
|
||||||
AboutScreenDestination -> R.string.about
|
AboutScreenDestination -> R.string.about
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@OptIn(ExperimentalMaterial3Api::class)
|
||||||
@Composable
|
@Composable
|
||||||
fun AppBar(navController: NavController) {
|
fun AppBar(navController: NavController) {
|
||||||
val destination = navController.currentBackStackEntryAsState().value?.appDestination() ?: HomeScreenDestination
|
val destination = navController.currentBackStackEntryAsState().value?.appDestination() ?: HomeScreenDestination
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ import com.aliucord.manager.model.Plugin
|
||||||
import com.aliucord.manager.ui.component.plugins.Changelog
|
import com.aliucord.manager.ui.component.plugins.Changelog
|
||||||
import com.aliucord.manager.ui.component.plugins.PluginCard
|
import com.aliucord.manager.ui.component.plugins.PluginCard
|
||||||
|
|
||||||
|
@OptIn(ExperimentalMaterial3Api::class)
|
||||||
@Composable
|
@Composable
|
||||||
fun PluginsList() = Column(
|
fun PluginsList() = Column(
|
||||||
modifier = Modifier.fillMaxSize(),
|
modifier = Modifier.fillMaxSize(),
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@ import com.aliucord.manager.ui.component.settings.*
|
||||||
import com.aliucord.manager.ui.viewmodel.SettingsViewModel
|
import com.aliucord.manager.ui.viewmodel.SettingsViewModel
|
||||||
import com.ramcosta.composedestinations.annotation.Destination
|
import com.ramcosta.composedestinations.annotation.Destination
|
||||||
|
|
||||||
|
@OptIn(ExperimentalMaterial3Api::class)
|
||||||
@Destination
|
@Destination
|
||||||
@Composable
|
@Composable
|
||||||
fun SettingsScreen() = Column(
|
fun SettingsScreen() = Column(
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ buildscript {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("com.android.tools.build:gradle:7.4.0-alpha08")
|
classpath("com.android.tools.build:gradle:7.4.0-alpha08")
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10")
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle.kts files
|
// in the individual module build.gradle.kts files
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue