Skip to content

Commit

Permalink
build: make piano's dependencies accessible in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-roland committed Dec 7, 2023
1 parent ecec915 commit 431c889
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions piano-dispatcher/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ dependencies {
compileOnly 'io.piano:analytics:3.2.0' // Legacy Piano SDK
compileOnly 'io.piano.android:analytics:3.3.5' // New Piano SDK

// Make piano's dependencies accessible in tests
configurations {
testImplementation.extendsFrom compileOnly
}

testImplementation 'junit:junit:4.13.2'
testImplementation 'androidx.test.ext:junit:1.1.5'
testImplementation 'org.mockito:mockito-core:5.7.0'
Expand Down

0 comments on commit 431c889

Please sign in to comment.