Skip to content
Open
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
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ ktlint_standard_blank-line-between-when-conditions=disabled
ktlint_standard_backing-property-naming=disabled
ktlint_standard_kdoc=disabled
ktlint_standard_condition-wrapping=disabled
ktlint_standard_expression-operand-wrapping=disabled
ktlint_standard_function-signature=disabled
ktlint_standard_spacing-between-declarations-with-comments=disabled
ktlint_standard_mixed-condition-operators=disabled
ktlint_experimental=enabled
11 changes: 11 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

buildscript {
dependencies {
classpath(libs.plugin.android.cache.fix)
Expand Down Expand Up @@ -55,4 +57,13 @@ subprojects {
tasks.withType(Test::class.java).all {
testLogging.exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
}

tasks.withType<KotlinCompile>().configureEach {
compilerOptions {
freeCompilerArgs.addAll(
"-Xconsistent-data-class-copy-visibility",
"-Xannotation-default-target=param-property",
)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ internal class CropImageIntentChooser(
* It is required in Android Marshmallow and above if "CAMERA" permission is requested in the
* manifest.<br></br>
* See [StackOverflow
* question](http://stackoverflow.com/questions/32789027/android-m-camera-intent-permission-bug).
* question](http://stackoverflow.com/questions/32789027/android-m-camera-intent-permission-bug).
*/
private fun isExplicitCameraPermissionRequired(context: Context): Boolean = SDK_INT >= Build.VERSION_CODES.M &&
hasCameraPermissionInManifest(context) &&
Expand Down
34 changes: 17 additions & 17 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,32 @@ minSdk = "21"
compileSdk = "34"
targetSdk = "34"

androidgradleplugin = "8.5.2"
kotlin = "2.0.0"
kotlinxcoroutines = "1.8.1"
ktlint = "1.3.1"
androidgradleplugin = "8.13.1"
kotlin = "2.2.21"
kotlinxcoroutines = "1.10.2"
ktlint = "1.8.0"

[libraries]
androidx-activity-ktx = { module = "androidx.activity:activity-ktx", version = "1.9.2" }
androidx-appcompat = { module = "androidx.appcompat:appcompat", version = "1.7.0" }
androidx-core-ktx = { module = "androidx.core:core-ktx", version = "1.13.1" }
androidx-exifinterface = { module = "androidx.exifinterface:exifinterface", version = "1.3.7" }
androidx-fragment-testing = { module = "androidx.fragment:fragment-testing", version = "1.8.4" }
androidx-test-junit = { module = "androidx.test.ext:junit", version = "1.2.1" }
androidx-activity-ktx = { module = "androidx.activity:activity-ktx", version = "1.9.3" }
androidx-appcompat = { module = "androidx.appcompat:appcompat", version = "1.7.1" }
androidx-core-ktx = { module = "androidx.core:core-ktx", version = "1.13.0" }
androidx-exifinterface = { module = "androidx.exifinterface:exifinterface", version = "1.4.1" }
androidx-fragment-testing = { module = "androidx.fragment:fragment-testing", version = "1.8.9" }
androidx-test-junit = { module = "androidx.test.ext:junit", version = "1.3.0" }
junit = { module = "junit:junit", version = "4.13.2" }
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinxcoroutines" }
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinxcoroutines" }
leakcanary-android = { module = "com.squareup.leakcanary:leakcanary-android", version = "2.14" }
material = { module = "com.google.android.material:material", version = "1.12.0" }
mock = { module = "io.mockk:mockk", version = "1.13.12" }
plugin-android-cache-fix = { module = "org.gradle.android.cache-fix:org.gradle.android.cache-fix.gradle.plugin", version = "3.0.1" }
material = { module = "com.google.android.material:material", version = "1.13.0" }
mock = { module = "io.mockk:mockk", version = "1.14.6" }
plugin-android-cache-fix = { module = "org.gradle.android.cache-fix:org.gradle.android.cache-fix.gradle.plugin", version = "3.0.3" }
plugin-androidgradleplugin = { module = "com.android.tools.build:gradle", version.ref = "androidgradleplugin" }
plugin-dokka = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version = "1.9.20" }
plugin-kotlin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
plugin-licensee = { module = "app.cash.licensee:licensee-gradle-plugin", version = "1.11.0" }
plugin-paparazzi = { module = "app.cash.paparazzi:paparazzi-gradle-plugin", version = "1.3.3" }
plugin-publish = { module = "com.vanniktech:gradle-maven-publish-plugin", version = "0.29.0" }
robolectric = { module = "org.robolectric:robolectric", version = "4.12.1" }
plugin-licensee = { module = "app.cash.licensee:licensee-gradle-plugin", version = "1.14.1" }
plugin-paparazzi = { module = "app.cash.paparazzi:paparazzi-gradle-plugin", version = "1.3.5" }
plugin-publish = { module = "com.vanniktech:gradle-maven-publish-plugin", version = "0.35.0" }
robolectric = { module = "org.robolectric:robolectric", version = "4.16" }
timber = { module = "com.jakewharton.timber:timber", version = "5.0.1" }

[plugins]
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME

zipStorePath=wrapper/dists
12 changes: 4 additions & 8 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading