Skip to content

Commit

Permalink
Adds required Kotlin test dependencies to :core (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayShortway authored Aug 12, 2024
1 parent 0b5629f commit 5ad137d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 8 additions & 3 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@ plugins {

kotlin {
sourceSets {
commonTest.dependencies {
implementation(libs.kotlin.test)
}
androidMain.dependencies {
api(libs.revenuecat.common)
implementation(libs.androidx.startup)
}

commonTest.dependencies {
implementation(libs.kotlin.test.annotations)
implementation(libs.kotlin.test.assertions)
}
androidUnitTest.dependencies {
implementation(libs.kotlin.test.junit)
}
}

cocoapods {
Expand Down
4 changes: 3 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ androidx-activity-compose = { module = "androidx.activity:activity-compose", ver
androidx-startup = { module = "androidx.startup:startup-runtime", version = "1.1.1" }
arrow-core = { module = "io.arrow-kt:arrow-core", version = "1.2.4" }
kotlin-gradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
kotlin-test-assertions = { module = "org.jetbrains.kotlin:kotlin-test-common", version.ref = "kotlin" }
kotlin-test-annotations = { module = "org.jetbrains.kotlin:kotlin-test-annotations-common", version.ref = "kotlin" }
kotlin-test-junit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" }
kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version = "0.6.0" }
revenuecat-common = { module = "com.revenuecat.purchases:purchases-hybrid-common", version.ref = "revenuecat-common" }
revenuecat-commonUi = { module = "com.revenuecat.purchases:purchases-hybrid-common-ui", version.ref = "revenuecat-common" }
Expand Down

0 comments on commit 5ad137d

Please sign in to comment.