Commit Graph

1046 Commits

Author SHA1 Message Date
Carter Jernigan ca249878db
[#307] Android Gradle Plugin 7.0.3 2021-11-18 14:36:53 -05:00
Carter Jernigan dca91f2558 [#319] Fix ktlint issues 2021-11-18 07:10:30 -05:00
Carter Jernigan 108fe249d9 Update gitignore 2021-11-18 06:46:58 -05:00
Francisco Gindre 6968797092
Merge pull request #309 from zcash/269-remove-blocking-calls
[#269] Convert blocking calls to suspend functions
2021-11-04 17:47:23 -03:00
Carter Jernigan 079229972f [#269] Convert blocking calls to suspend functions
To quickly get this implemented, some calls in the demo-app have been wrapped in `runBlocking {}`.  This is not ideal and will be addressed in followup issues.
2021-10-21 16:52:15 -04:00
Carter Jernigan 07a00dc376
[#294] Move twig to internal package 2021-10-13 10:20:13 -04:00
Francisco Gindre 573b92e2f8
Merge pull request #299 from zcash/392-repackaging-internal-apis
[#293] Refactor non-public APIs to internal package
2021-10-07 15:51:29 -03:00
Francisco Gindre 5093390f40
Merge pull request #298 from zcash/264-readme-fix
[#264] Fix license link in readme
2021-10-07 11:42:37 -03:00
Carter Jernigan 28853b5a84 [#293] Refactor non-public APIs to internal package 2021-10-04 08:45:53 -04:00
Carter Jernigan 6540e6fd35 [#264] Fix license link in readme 2021-10-04 08:17:55 -04:00
Francisco Gindre 07d7f17387
Merge pull request #292 from zcash/291-fix-rust-build
Fix rust build
2021-09-30 08:53:31 -03:00
Carter Jernigan b4213f3e48 [#290] Delete `targets` directory during clean 2021-09-30 07:45:36 -04:00
Carter Jernigan 4923b5fd12 [#291] Fix rust build tasks
This resolves a regression introduced in the implementation of issue #251.
2021-09-30 07:27:07 -04:00
Francisco Gindre fde9257207
Merge pull request #287 from zcash/284-darkside-test-module
Refactor darkside tests to separate module
2021-09-27 16:17:30 -03:00
Carter Jernigan abac552ab5 [#284] Refactor darkside tests to separate module
Simplifies running the SDK test suite versus darkside tests (which require special environment setup).

Note that the darkside tests are still broken.  This is not a regression, as they were broken before.  This is an intermediate step towards fixing those tests.
2021-09-27 14:55:08 -04:00
Francisco Gindre 0b3c0cf4e4
Merge pull request #286 from zcash/285-build-conventions
Refactor Gradle build setup
2021-09-27 15:53:18 -03:00
Carter Jernigan 5730bec3c6 [#256] Configure Gradle Versions Plugin
This will provide reports on dependecy updates that are available.

Its outside the critical path of the build, so it can be readily disabled or replaced in the future.
2021-09-25 12:54:42 -04:00
Carter Jernigan dfe7dad834 [#256] Use Gradle Version Catalog for dependencies 2021-09-25 12:54:42 -04:00
Carter Jernigan 283718de94 [#285] Apply ktlint to demo-app
In the process of refactoring the Gradle scripts, ktlint now is applied to all Gradle modules.  The demo-app hadn't been linted before, so this applies a series of minor autocorrections to this module.
2021-09-25 12:54:42 -04:00
Carter Jernigan 07d02e6cea [#285] Implement gradle build conventions
In addition to using build-conventions to make the build scripts more DRY, the following additional changes are included in this commit:

- Convert build scripts to kts
- Fix a double-build issue with the SDK
- Add configurable options for treating compiler warnings as errors (disabled for now, due to extensive warnings that need to be corrected first)
- Added detekt as an additional static analysis tool
2021-09-25 12:54:42 -04:00
Francisco Gindre c209dc2d0c
Merge pull request #282 from zcash/280-delete-libraries
[#280] Delete old unused SDK libraries
2021-09-17 10:22:19 -03:00
Carter Jernigan 25839cf0fa [#280] Delete old unused SDK libraries
SDK is now compiled from the version in the repo, so we don't need pre-compiled copies anymore
2021-09-15 12:23:31 -04:00
Francisco Gindre 83752e68c1
Merge pull request #279 from ccjernigan/274-typesafe-gradle-modules
[#274] Enable typesafe project dependencies
2021-09-14 09:44:14 -03:00
Francisco Gindre 4529cce6a0
Merge pull request #278 from ccjernigan/268-strict-mode
[#268] Enable strict mode for demo-app
2021-09-14 09:43:47 -03:00
Carter Jernigan 9ed80a5d4a [#274] Enable typesafe project dependencies 2021-09-13 13:42:53 -04:00
Carter Jernigan f4608d6ee1 [#268] Enable strict mode for demo-app 2021-09-13 13:33:05 -04:00
Francisco Gindre a517cf7d21
Merge pull request #277 from ccjernigan/251-rust-plugin
Update to Latest Mozilla Rust Gradle Plugin
2021-09-13 14:30:34 -03:00
Carter Jernigan bc5d27bee2 [#276] Android Gradle Plugin 7.0.2 2021-09-13 13:28:18 -04:00
Carter Jernigan 64ec55b8cf [#273] Gradle 7.2 2021-09-13 13:28:18 -04:00
Carter Jernigan 9b821bbfab [#251] Update to Mozilla Rust Gradle Plugin 0.9.0 2021-09-13 13:28:18 -04:00
Francisco Gindre f66f96aa20
Merge pull request #272 from ccjernigan/270-birthday-fix
#270 Fixes for bad JSON files
2021-09-13 14:16:21 -03:00
Francisco Gindre e01671c288
Merge pull request #275 from ccjernigan/260-jcenter
Fix demo app crashes; update dependencies
2021-09-13 13:58:56 -03:00
Carter Jernigan 3afeb0f688 [#260] Depend on sdk-lib instead of published library
Because the demo app was using an old version of the SDK, this also implements a variety of changes to accomodate the new SDK API
2021-09-13 09:25:27 -04:00
Carter Jernigan a03e3e054f [#265] Update grpc version in demo app 2021-09-12 16:51:19 -04:00
Carter Jernigan fbf4b86662 [#260] Remove repository declaration for JCenter 2021-09-12 16:51:19 -04:00
Carter Jernigan b4b5bead47 [#260] Bump bip39 to 1.0.2
This version is published on Maven Central
2021-09-12 16:51:19 -04:00
Carter Jernigan 568cfa6c4b [#270] Fallback for bad JSON files 2021-09-11 11:43:35 -04:00
Carter Jernigan a58a235d2c [#270] Add regression tests for assets 2021-09-11 11:43:35 -04:00
Carter Jernigan f9d95bca91 [#270] Delete duplicate JSON file
File 900000 is a duplicate of file 580000
2021-09-11 11:43:35 -04:00
Carter Jernigan 7e97786c37 [#270] Fix inconsistent network name in testnet JSON files 2021-09-11 11:43:35 -04:00
Carter Jernigan 8660ed9d57 Fix missing ignore imports 2021-09-11 10:39:20 -04:00
Carter Jernigan ab56052927 Update Vanniktech Gradle plugin to 0.17.0 2021-09-11 10:39:20 -04:00
Carter Jernigan 4d87a360e8 Update documentation for mavenLocal publishing 2021-09-11 10:39:20 -04:00
Carter Jernigan 39f5202f2c Move packages.md
This is a followup fix for changes made with issue #255
2021-09-11 07:27:00 -04:00
Francisco Gindre dd97625581
Merge pull request #267 from zcash/262-target-sdk-31
[#262] Target Android SDK 31
2021-09-05 17:44:51 -03:00
Carter Jernigan b80146e3ec [#262] Target Android SDK 31
Also resolve setting the main activity to exported, which is a new requirement for the new API level
2021-09-01 15:00:25 -04:00
Francisco Gindre 0b6a82b293
Merge pull request #263 from zcash/255-refactor-gradle-modules
CI Integrations
2021-08-31 20:01:37 -03:00
Carter Jernigan 2471389906 [#261] Add property for NDK version 2021-08-31 15:41:39 -04:00
Carter Jernigan f8ed6023c7 Configure lint baseline 2021-08-31 14:57:23 -04:00
Carter Jernigan 8b67ee1e57 Get tests running to completion
Some tests have been disabled to enable tests to actually complete; there are a number of test failures which need to be addressed.

These tests were failing prior to the refactoring.

The disabled tests can be easily found by searching for the Ignore annotation. They also appear in the Junit results window in Android Studio.
2021-08-31 14:57:23 -04:00