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

Update Kotlin to 1.9.0 and androidx.core to 1.10.1. #1827

Merged
merged 2 commits into from
Jul 25, 2023
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: 2 additions & 0 deletions buildSrc/src/main/kotlin/Projects.kt
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ private fun <T : BaseExtension> Project.setupBaseModule(
lint {
warningsAsErrors = true
disable += listOf(
"ComposableNaming",
"UnknownIssueId",
"UnusedResources",
"VectorPath",
"VectorRaster",
Expand Down
5 changes: 5 additions & 0 deletions coil-base/api/coil-base.api
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ public final class coil/decode/DataSource : java/lang/Enum {
public static final field MEMORY Lcoil/decode/DataSource;
public static final field MEMORY_CACHE Lcoil/decode/DataSource;
public static final field NETWORK Lcoil/decode/DataSource;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public static fun valueOf (Ljava/lang/String;)Lcoil/decode/DataSource;
public static fun values ()[Lcoil/decode/DataSource;
}
Expand Down Expand Up @@ -223,6 +224,7 @@ public final class coil/decode/ExifOrientationPolicy : java/lang/Enum {
public static final field IGNORE Lcoil/decode/ExifOrientationPolicy;
public static final field RESPECT_ALL Lcoil/decode/ExifOrientationPolicy;
public static final field RESPECT_PERFORMANCE Lcoil/decode/ExifOrientationPolicy;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public static fun valueOf (Ljava/lang/String;)Lcoil/decode/ExifOrientationPolicy;
public static fun values ()[Lcoil/decode/ExifOrientationPolicy;
}
Expand Down Expand Up @@ -453,6 +455,7 @@ public final class coil/request/CachePolicy : java/lang/Enum {
public static final field ENABLED Lcoil/request/CachePolicy;
public static final field READ_ONLY Lcoil/request/CachePolicy;
public static final field WRITE_ONLY Lcoil/request/CachePolicy;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public final fun getReadEnabled ()Z
public final fun getWriteEnabled ()Z
public static fun valueOf (Ljava/lang/String;)Lcoil/request/CachePolicy;
Expand Down Expand Up @@ -799,13 +802,15 @@ public final class coil/size/Precision : java/lang/Enum {
public static final field AUTOMATIC Lcoil/size/Precision;
public static final field EXACT Lcoil/size/Precision;
public static final field INEXACT Lcoil/size/Precision;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public static fun valueOf (Ljava/lang/String;)Lcoil/size/Precision;
public static fun values ()[Lcoil/size/Precision;
}

public final class coil/size/Scale : java/lang/Enum {
public static final field FILL Lcoil/size/Scale;
public static final field FIT Lcoil/size/Scale;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public static fun valueOf (Ljava/lang/String;)Lcoil/size/Scale;
public static fun values ()[Lcoil/size/Scale;
}
Expand Down
1 change: 1 addition & 0 deletions coil-gif/api/coil-gif.api
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public final class coil/transform/PixelOpacity : java/lang/Enum {
public static final field OPAQUE Lcoil/transform/PixelOpacity;
public static final field TRANSLUCENT Lcoil/transform/PixelOpacity;
public static final field UNCHANGED Lcoil/transform/PixelOpacity;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public static fun valueOf (Ljava/lang/String;)Lcoil/transform/PixelOpacity;
public static fun values ()[Lcoil/transform/PixelOpacity;
}
Expand Down
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
androidx-activity = "1.7.2"
androidx-lifecycle = "2.6.1"
compose = "1.4.3"
composeCompiler = "1.4.8"
composeCompiler = "1.5.0"
coroutines = "1.7.3"
ktlint = "0.48.2"
okhttp = "4.11.0"
Expand All @@ -16,7 +16,7 @@ spotless = "com.diffplug.spotless:6.20.0"

[libraries]
gradlePlugin-android = "com.android.tools.build:gradle:8.1.0"
gradlePlugin-kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.22"
gradlePlugin-kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0"
gradlePlugin-mavenPublish = "com.vanniktech:gradle-maven-publish-plugin:0.25.3"
gradlePlugin-paparazzi = "app.cash.paparazzi:paparazzi-gradle-plugin:1.3.1"
gradlePlugin-roborazzi = { module = "io.github.takahirom.roborazzi:roborazzi-gradle-plugin", version.ref = "roborazzi" }
Expand All @@ -30,7 +30,7 @@ androidx-annotation = "androidx.annotation:annotation:1.6.0"
androidx-benchmark-macro = "androidx.benchmark:benchmark-macro-junit4:1.2.0-alpha15"
androidx-collection = "androidx.collection:collection:1.2.0"
androidx-constraintlayout = "androidx.constraintlayout:constraintlayout:2.1.4"
androidx-core = "androidx.core:core-ktx:1.9.0"
androidx-core = "androidx.core:core-ktx:1.10.1"
androidx-exifinterface = "androidx.exifinterface:exifinterface:1.3.6"
androidx-lifecycle-runtime = { module = "androidx.lifecycle:lifecycle-runtime", version.ref = "androidx-lifecycle" }
androidx-lifecycle-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "androidx-lifecycle" }
Expand Down
Loading