[x] Added okhttp:4.12.0 dependency in /example/android/app/build.gradle (used for JNI), and updated jnigen.yaml to use the Android SDK instead.
[x] Remove jar/ exclusion from .gitignore
WHY? As multiple Kotlin files with intermediary code will be written to enhance the usage of OkHttp, it is inconsiderable to push JAR files for future commits or to run an additional step of creating said JARs before generating the bindings.
[x] I’ve reviewed the contributor guide and applied the relevant portions to this PR.
Contribution guidelines:
- See our [contributor guide](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md) for general expectations for PRs.
- Larger or significant changes should be discussed in an issue before creating a PR.
- Contributions to our repos should follow the [Dart style guide](https://dart.dev/guides/language/effective-dart) and use `dart format`.
- Most changes should add an entry to the changelog and may need to [rev the pubspec package version](https://github.com/dart-lang/sdk/wiki/External-Package-Maintenance#making-a-change).
- Changes to packages require [corresponding tests](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md#Testing).
Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.
Items in this PR:
okhttp:4.12.0
dependency in/example/android/app/build.gradle
(used for JNI), and updatedjnigen.yaml
to use the Android SDK instead.jar/
exclusion from.gitignore
WHY? As multiple Kotlin files with intermediary code will be written to enhance the usage of
OkHttp
, it is inconsiderable to push JAR files for future commits or to run an additional step of creating said JARs before generating the bindings.Contribution guidelines:
- See our [contributor guide](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md) for general expectations for PRs. - Larger or significant changes should be discussed in an issue before creating a PR. - Contributions to our repos should follow the [Dart style guide](https://dart.dev/guides/language/effective-dart) and use `dart format`. - Most changes should add an entry to the changelog and may need to [rev the pubspec package version](https://github.com/dart-lang/sdk/wiki/External-Package-Maintenance#making-a-change). - Changes to packages require [corresponding tests](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md#Testing). Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.