Skip to content

Commit

Permalink
Add an explicit dependency on kotlin-stdlib-jdk8. (#1430)
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrtwhite committed Sep 7, 2022
1 parent 0b1718b commit 99c2a9e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions coil-base/build.gradle.kts
Expand Up @@ -15,6 +15,7 @@ dependencies {
implementation(libs.androidx.exifinterface)
api(libs.androidx.lifecycle.runtime)
api(libs.coroutines.android)
api(libs.kotlin.stdlib)
api(libs.okhttp)
api(libs.okio)

Expand Down
9 changes: 6 additions & 3 deletions gradle.properties
@@ -1,17 +1,20 @@
org.gradle.jvmargs=-Xmx4g -XX:+UseParallelGC -Dfile.encoding=UTF-8

# https://issuetracker.google.com/issues/189367188
android.disableAutomaticComponentCreation=true

# AndroidX
android.useAndroidX=true

# https://kotlinlang.org/docs/code-style-migration-guide.html#in-gradle
kotlin.code.style=official

# Add the stdlib dependency manually.
kotlin.stdlib.default.dependency=false

# Disable welcome message.
systemProp.org.gradle.internal.launcher.welcomeMessageEnabled=false

# https://issuetracker.google.com/issues/189367188
android.disableAutomaticComponentCreation=true

# Config
minSdk=21
targetSdk=33
Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Expand Up @@ -48,6 +48,7 @@ coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", ve

junit = "junit:junit:4.13.2"

kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8" }
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test-junit" }

material = "com.google.android.material:material:1.6.1"
Expand Down

0 comments on commit 99c2a9e

Please sign in to comment.