If option #2 or #3 custom build.gradle is easy to do, I think that's the best way for right now since its the lowest impact. The ant build is a reproducible build process, which is important for the final releases. I haven't figured out how to do that with gradle (yet?). Eclipse support is not very important (though it does seem to run faster than even Android Studio 2.0).
.hc Mark Murphy: > 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! > -- PGP fingerprint: EE66 20C7 136B 0D2C 456C 0A4D E9E2 8DEA 00AA 5556 https://pgp.mit.edu/pks/lookup?op=vindex&search=0xE9E28DEA00AA5556 _______________________________________________ List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev To unsubscribe, email: guardian-dev-unsubscr...@lists.mayfirst.org