Right now, NetCipher has a netciphertest/ directory off the project root. This is an Eclipse-style project, operating independently of libnetcipher/ and sample/. It is not set up for Gradle. I would like to be able to add some tests for the code that I am hoping to contribute to NetCipher. I would like to develop using Android Studio (or at least Gradle), so I'd like to know how you want me to do that.
Options include: - Totally revamp libnetcipher/ to be a typical Gradle/Android Studio module, moving the tests out of netciphertests/... into libnetcipher/src/androidTest. The result would no longer be buildable in Eclipse or via Ant. This would also require revamping sample/ to match, in all likelihood. - Leave netciphertest/ as it is, but configure the build.gradle in libnetcipher/ to point to netciphertest/ for its instrumentation tests. AFAIK, this should be possible, through some additional code in the libnetcipher/build.gradle sourceSets closure to teach Gradle where the instrumentation test code resides. - Leave netciphertest/ as it is, and set up its own build.gradle file to have its contents run as instrumentation tests. This would require adding netciphertest/ as a module to the top-level settings.gradle. I'm a bit less confident that this will work than I am with the previous option, but it still seems likely. Or, I'm up for other options, at least those that don't involve doing my work in Eclipse. Thanks! -- Mark Murphy (a Commons Guy) https://commonsware.com | https://github.com/commonsguy https://commonsware.com/blog | https://twitter.com/commonsguy _______________________________________________ List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev To unsubscribe, email: [email protected]
