We've updated the project structure and the current status is in https://github.com/ably/ably-java/tree/project-struct-update
The aim of the update is to split the builds for the android and java versions of the library so that the appropriate toolchain is used for each. This means that we can provide artifacts in the most appropriate format (ie .aar for Android) and in future will enable us to add platform-specific implementations of new features.
Current status is:
- most of the library code and tests are in a new, common, core subproject
- a java subproject builds the jar files for the Java Runtime Environment (JRE) and includes the associated test tasks;
- an android subproject is an android library project, builds the .aar, and includes an androidTest task to build a test .apk;
- the java library builds and the tests run.
The work needed now is to:
- ensure that the android build works and the android tests run; at a minimum this should work on a target connected device and ideally also in Travis.
- Android tests should include the common core tests and the structure should allow for the Android Suites to be extended to include Android-specific tests.
- Java and Android library artifacts should be separately available in jcenter.
- the README should be updated to reflect any changes in building, running and running tests.
Please note that once this work is complete, the PRs #128 and #125 should be reviewed and any functionality introduced should be extracted and rebased onto this work.
We've updated the project structure and the current status is in https://github.com/ably/ably-java/tree/project-struct-update
The aim of the update is to split the builds for the android and java versions of the library so that the appropriate toolchain is used for each. This means that we can provide artifacts in the most appropriate format (ie .aar for Android) and in future will enable us to add platform-specific implementations of new features.
Current status is:
The work needed now is to:
Please note that once this work is complete, the PRs #128 and #125 should be reviewed and any functionality introduced should be extracted and rebased onto this work.