From e34dc2b7202c0067787682508b2c5b13f2c15a8b Mon Sep 17 00:00:00 2001 From: leavesCZY <1990724437@qq.com> Date: Sat, 28 Oct 2023 22:17:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=20v1.1.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gradle/libs.versions.toml | 5 +++-- matisse/build.gradle.kts | 2 +- matisse/src/main/java/github/leavesczy/matisse/Matisse.kt | 3 +++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 3ccef78..c60336c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -13,7 +13,8 @@ androidx-lifecycle-runtime-ktx = "2.6.2" compose-bom = "2023.10.01" compose-compiler = "1.5.3" -matisse = "1.1.1" +matisse-remote = "1.1.2" +matisse-publishing = "1.1.2" coil = "2.4.0" @@ -46,7 +47,7 @@ compose-foundation = { module = "androidx.compose.foundation:foundation" } compose-material-icons = { module = "androidx.compose.material:material-icons-extended" } compose-material3 = { module = "androidx.compose.material3:material3" } -matisse = { module = "io.github.leavesczy:matisse", version.ref = "matisse" } +matisse = { module = "io.github.leavesczy:matisse", version.ref = "matisse-remote" } coil-compose = { module = "io.coil-kt:coil-compose", version.ref = "coil" } coil-gif = { module = "io.coil-kt:coil-gif", version.ref = "coil" } diff --git a/matisse/build.gradle.kts b/matisse/build.gradle.kts index e73d077..365b363 100644 --- a/matisse/build.gradle.kts +++ b/matisse/build.gradle.kts @@ -60,7 +60,7 @@ if (signingKeyId != null create("release") { groupId = "io.github.leavesczy" artifactId = "matisse" - version = "1.1.1" + version = libs.versions.matisse.publishing.get() afterEvaluate { from(components["release"]) } diff --git a/matisse/src/main/java/github/leavesczy/matisse/Matisse.kt b/matisse/src/main/java/github/leavesczy/matisse/Matisse.kt index d70c734..d4387c0 100644 --- a/matisse/src/main/java/github/leavesczy/matisse/Matisse.kt +++ b/matisse/src/main/java/github/leavesczy/matisse/Matisse.kt @@ -32,6 +32,9 @@ data class Matisse( } +/** + * @param captureStrategy 拍照策略 + */ @Parcelize data class MatisseCapture(val captureStrategy: CaptureStrategy) : Parcelable