Last active
April 22, 2016 12:43
-
-
Save talosdev/1f25166736f57d4c019e2b0cdd2e948b to your computer and use it in GitHub Desktop.
Shared code between test and androidTest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
android { | |
... | |
sourceSets { | |
String sharedTestDir = 'src/testCommon/java' | |
androidTest { | |
java.srcDirs += sharedTestDir | |
} | |
test { | |
java.srcDirs += sharedTestDir | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment