mirror of
https://github.com/null2264/yokai.git
synced 2025-06-20 18:24:42 +00:00
chore(deps): Update agp to v8.5.0
Also convert some plugins to use version catalog
This commit is contained in:
parent
f8b462c4b5
commit
cbdd16f6d4
11 changed files with 26 additions and 18 deletions
|
@ -5,14 +5,14 @@ import java.time.ZoneOffset
|
|||
import java.time.format.DateTimeFormatter
|
||||
|
||||
plugins {
|
||||
id("com.android.application")
|
||||
kotlin("android")
|
||||
alias(androidx.plugins.application)
|
||||
alias(kotlinx.plugins.android)
|
||||
alias(kotlinx.plugins.compose.compiler)
|
||||
kotlin("plugin.serialization")
|
||||
id("kotlin-parcelize")
|
||||
id("com.google.android.gms.oss-licenses-plugin")
|
||||
id("com.google.gms.google-services") apply false
|
||||
id("com.google.firebase.crashlytics") apply false
|
||||
alias(kotlinx.plugins.compose.compiler)
|
||||
}
|
||||
|
||||
if (gradle.startParameter.taskRequests.toString().contains("Standard")) {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
plugins {
|
||||
kotlin("multiplatform")
|
||||
alias(kotlinx.plugins.multiplatform)
|
||||
alias(androidx.plugins.library)
|
||||
kotlin("plugin.serialization")
|
||||
id("com.android.library")
|
||||
}
|
||||
|
||||
kotlin {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
plugins {
|
||||
kotlin("multiplatform")
|
||||
alias(kotlinx.plugins.multiplatform)
|
||||
alias(androidx.plugins.library)
|
||||
alias(libs.plugins.sqldelight)
|
||||
kotlin("plugin.serialization")
|
||||
id("app.cash.sqldelight")
|
||||
id("com.android.library")
|
||||
}
|
||||
|
||||
kotlin {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
plugins {
|
||||
kotlin("multiplatform")
|
||||
alias(kotlinx.plugins.multiplatform)
|
||||
alias(androidx.plugins.library)
|
||||
kotlin("plugin.serialization")
|
||||
id("com.android.library")
|
||||
}
|
||||
|
||||
kotlin {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
[versions]
|
||||
activity = "1.9.0"
|
||||
agp = "8.5.0"
|
||||
lifecycle = "2.8.1"
|
||||
|
||||
[libraries]
|
||||
|
@ -37,3 +38,7 @@ androidx = [
|
|||
"lifecycle-process", "lifecycle-runtime", "lifecycle-viewmodel", "lifecycle-viewmodel-compose", "multidex",
|
||||
"palette", "preference", "recyclerview", "sqlite", "layout-swiperefresh", "webkit", "work", "window"
|
||||
]
|
||||
|
||||
[plugins]
|
||||
application = { id = "com.android.application", version.ref = "agp" }
|
||||
library = { id = "com.android.library", version.ref = "agp" }
|
||||
|
|
|
@ -28,3 +28,4 @@ coroutines = [ "coroutines-android", "coroutines-core" ]
|
|||
[plugins]
|
||||
android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
||||
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
||||
multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
|
||||
|
|
|
@ -101,6 +101,8 @@ viewtooltip = { module = "com.github.florent37:viewtooltip", version = "1.2.2" }
|
|||
[plugins]
|
||||
kotlinter = { id = "org.jmailen.kotlinter", version = "4.1.1" }
|
||||
gradle-versions = { id = "com.github.ben-manes.versions", version = "0.42.0" }
|
||||
moko = { id = "dev.icerock.mobile.multiplatform-resources", version.ref = "moko" }
|
||||
sqldelight = { id = "app.cash.sqldelight", version.ref = "sqldelight" }
|
||||
|
||||
[bundles]
|
||||
db = [ "sqldelight-coroutines" ]
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
plugins {
|
||||
kotlin("multiplatform")
|
||||
id("com.android.library")
|
||||
id("dev.icerock.mobile.multiplatform-resources")
|
||||
alias(kotlinx.plugins.multiplatform)
|
||||
alias(androidx.plugins.library)
|
||||
alias(libs.plugins.moko)
|
||||
}
|
||||
|
||||
kotlin {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
plugins {
|
||||
id("com.android.library")
|
||||
id("org.jetbrains.kotlin.android")
|
||||
alias(androidx.plugins.library)
|
||||
alias(kotlinx.plugins.android)
|
||||
}
|
||||
|
||||
android {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
plugins {
|
||||
id("com.android.library")
|
||||
id("org.jetbrains.kotlin.android")
|
||||
alias(androidx.plugins.library)
|
||||
alias(kotlinx.plugins.android)
|
||||
alias(kotlinx.plugins.compose.compiler)
|
||||
}
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
plugins {
|
||||
alias(androidx.plugins.library)
|
||||
kotlin("multiplatform")
|
||||
kotlin("plugin.serialization")
|
||||
id("com.android.library")
|
||||
}
|
||||
|
||||
kotlin {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue