chore(deps): upgrade to Kotlin 1.7.20

This commit is contained in:
Harsh Shandilya 2022-09-30 01:41:41 +05:30
parent 2999603d16
commit 8e7a625750
No known key found for this signature in database
3 changed files with 17 additions and 4 deletions

View file

@ -43,6 +43,8 @@ class KotlinCommonPlugin : Plugin<Project> {
private val ADDITIONAL_COMPILER_ARGS = private val ADDITIONAL_COMPILER_ARGS =
listOf( listOf(
"-opt-in=kotlin.RequiresOptIn", "-opt-in=kotlin.RequiresOptIn",
"-P",
"plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=1.7.20",
) )
} }
} }

View file

@ -2,18 +2,18 @@
accompanist = "0.26.4-beta" accompanist = "0.26.4-beta"
agp = "8.0.0-alpha02" agp = "8.0.0-alpha02"
coil = "2.2.1" coil = "2.2.1"
composeCompiler = "1.3.1" composeCompiler = "1.4.0-dev-k1.7.20-RC-a143c065804"
coroutines = "1.6.4" coroutines = "1.6.4"
dagger = "2.44" dagger = "2.44"
hilt = "1.0.0" hilt = "1.0.0"
kotlin = "1.7.10" kotlin = "1.7.20"
material_motion = "0.9.1" material_motion = "0.9.1"
# @pin Needs to be aligned with Retrofit # @pin Needs to be aligned with Retrofit
okhttp = "3.14.9" okhttp = "3.14.9"
retrofit = "2.9.0" retrofit = "2.9.0"
richtext = "0.14.1" richtext = "0.14.1"
serialization = "1.4.0-RC" serialization = "1.4.0-RC"
sqldelight = "2.0.0-alpha03" sqldelight = "2.0.0-SNAPSHOT"
workmanager = "2.8.0-alpha04" workmanager = "2.8.0-alpha04"
[libraries] [libraries]

View file

@ -37,6 +37,10 @@ pluginManagement {
includeModule("com.sergei-lapin.napt", "gradle") includeModule("com.sergei-lapin.napt", "gradle")
} }
} }
exclusiveContent {
forRepository { maven("https://oss.sonatype.org/content/repositories/snapshots/") }
filter { includeGroup("app.cash.sqldelight") }
}
includeBuild("build-logic") includeBuild("build-logic")
mavenCentral() mavenCentral()
} }
@ -45,6 +49,10 @@ pluginManagement {
dependencyResolutionManagement { dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories { repositories {
exclusiveContent {
forRepository { maven(url = "https://androidx.dev/storage/compose-compiler/repository/") }
filter { includeGroup("androidx.compose.compiler") }
}
exclusiveContent { exclusiveContent {
forRepository { google() } forRepository { google() }
filter { filter {
@ -57,7 +65,6 @@ dependencyResolutionManagement {
includeGroup("androidx.browser") includeGroup("androidx.browser")
includeGroup("androidx.collection") includeGroup("androidx.collection")
includeGroup("androidx.compose.animation") includeGroup("androidx.compose.animation")
includeGroup("androidx.compose.compiler")
includeGroup("androidx.compose.foundation") includeGroup("androidx.compose.foundation")
includeGroup("androidx.compose.material") includeGroup("androidx.compose.material")
includeGroup("androidx.compose.material3") includeGroup("androidx.compose.material3")
@ -120,6 +127,10 @@ dependencyResolutionManagement {
includeModule("gradle.plugin.org.gradle.android", "android-cache-fix-gradle-plugin") includeModule("gradle.plugin.org.gradle.android", "android-cache-fix-gradle-plugin")
} }
} }
exclusiveContent {
forRepository { maven("https://oss.sonatype.org/content/repositories/snapshots/") }
filter { includeGroup("app.cash.sqldelight") }
}
mavenCentral() mavenCentral()
} }
} }