Set up unit test support in Gradle
Summary: This works now: ``` ./gradlew :android:testDebugUnitTest BUILD SUCCESSFUL in 1s 39 actionable tasks: 39 up-to-date ``` Reviewed By: danielbuechele Differential Revision: D10101985 fbshipit-source-id: e3d1f17b29652061498d50a9218a94aaebee67e2
This commit is contained in:
committed by
Facebook Github Bot
parent
2a4df330b2
commit
b756b5490f
@@ -26,6 +26,15 @@ android {
|
||||
abortOnError false
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
test {
|
||||
java {
|
||||
exclude 'com/facebook/sonar/plugins/facebook/**'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
path './CMakeLists.txt'
|
||||
@@ -45,6 +54,11 @@ android {
|
||||
implementation deps.lithoWidget
|
||||
implementation deps.rhino
|
||||
implementation deps.leakcanary
|
||||
|
||||
testImplementation deps.mockito
|
||||
testImplementation deps.robolectric
|
||||
testImplementation deps.hamcrest
|
||||
testImplementation deps.junit
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user