Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes part of #59: Testing module builds with both Bazel + Gradle [BL…
…OCKED: #1482] (#1488) * Working on having one module build with bazel * Created initial app-level WORKSPACE file * Added proto_library rule to build model app module * Added newline at end of WORKSPACE file * Created macro to process proto files * Both Bazel and Gradle now build /model successfully * Fixed typo in BUILD * Added missing end of file empty lines * Added Robolectric dependencies and general build rule * Source files building in both systems - added a TODO for test files * Turned two kt_android_library rules into one * Added dependencies for test files * Created kt_android_library rule for source files * Add TODO for android_local_test rule * Added a test manifest for android_local_test() * Added Firebase dependencies and git_repository for tools_android * Refactored google-services.json, imported new dependencies * Fixed Bens nits * Fixed space in WORKSPACE comment * Got a demo test working in both Java and Kotlin * Added rules_java dependencies for protocol buffers * Added java_proto_library rules, each proto file now has its own rule * Remove unnecessary srcs attribute for android_library * Rename bzl file macro * Added Robolectric dependencies and general build rule * Source files building in both systems - added a TODO for test files * Turned two kt_android_library rules into one * Added dependencies for test files * Created kt_android_library rule for source files * Add TODO for android_local_test rule * Changed model visability, added model and util dependencies to testing * Added dependencies to testing_main_lib * Testing source files now build * Test files are building * Changed to java_lite * Added EOF newlines * Each library now has its own build rule * Utility is now one rule * Changed visibility for utility_lib * Added duplicate google-services.json file to please Gradle * Changed event_logger.proto to oppia_logger.proto * Added missing EOF newlines * Fixed bug in import statements for exploration.proto, topic.proto, and question.proto * Deleted DemoJava * CHanged rules_kotlin version * Added Firebase dependencies * Removed AsyncResultTest example * Removed AsynchResultTest example * Removed unnecessary comments in WORKSPACE and moved rules_kotlin * Added re-naming TODOs * Renamed java_proto rules java_proto_lite * Added doc comments to model/BUILD.bazel and format_import_proto_library * Added comments to WORKSPACE file * Fixed nits * Added comment to kt_android_library() rule * Fixed more nits * Added Firebase comment * Fixed merge conflicts and nits * Deleted unused dependencies from testing_main_lib * Changed library name to model * Formatted WORKSPACE comment * Formatted TODO statement * Changed format_import_proto_library comment * Added EOF newline * Created Issue and linked TODO in WORKSPACE * Edited model BUILD file top comment * Addressed nits * Fixed nits and added comments * Fixing nits * Deleted unnecessary dependencies and testing example file * Fixed manifest issues * Move google json file * Restore app version of json * Edit TODO * Deleted TODO * Changed Firebase comment * Added testing functionality from later PR * Added comments to bzl files * Added targetSDK to manifests * Changed crashlytics_lib to crashlytics * Changed testing_tests visibility * Changed type of comment ticks * Fixed nits and added TODOs * Added Args to document comment * Changed targetSDK to 29 * Formatted TODO * Moved google-services.json * Added gogle-services.json back to app * Trying to remove combined testing library * Changed targetSDK to 29 * Tests pass now with deps passed in. * Created TEST_DEPS list to avoid duplicate list of dependencies * Removed unused resources and manifest * Updated comments to reflect changes * Updated comment for testing_test * Formatted dependencies and removed unused dependency * Updated dependency list * Header for oppia_android_test now fits on one line * Edited documentation for oppia_android_test * Updated documentation for utility and testing BUILD files * Changed src to srcs * Fixed the duplicate google-services.json issue * Created Issue and added TODO * Added minSDK back * Alphabetized dependencies * Changed targetSdk to 28