facebook / screenshot-tests-for-android

Generate fast deterministic screenshots during Android instrumentation tests
http://facebook.github.io/screenshot-tests-for-android
Apache License 2.0
1.74k stars 229 forks source link

Add implementation dependency #269

Open mateusz-nawrot opened 3 years ago

mateusz-nawrot commented 3 years ago

Right now ScreenshotsPlugin only adds com.facebook.testing.screenshots:core as testImplementation dependency. Can you extend it to add it as implementation as well? I want to use it in src/java, and right now i have to workaround it by adding implementation "com.facebook.testing.screenshot:core:0.11.0@aar" manually

https://github.com/facebook/screenshot-tests-for-android/blob/master/plugin/src/main/kotlin/com/facebook/testing/screenshot/build/ScreenshotsPlugin.kt#L58

marcinKdev commented 3 years ago

absolutely appreciated - 👍