Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iurysza/vaccination-tracker
A library that provides Brazilian covid vaccination data. Built with kotlin multiplatform.
https://github.com/iurysza/vaccination-tracker
android ios jvm kotlin kotlinmultiplatform
Last synced: about 1 month ago
JSON representation
A library that provides Brazilian covid vaccination data. Built with kotlin multiplatform.
- Host: GitHub
- URL: https://github.com/iurysza/vaccination-tracker
- Owner: iurysza
- Created: 2021-06-21T23:12:17.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-25T22:04:10.000Z (over 3 years ago)
- Last Synced: 2023-07-27T06:56:53.632Z (over 1 year ago)
- Topics: android, ios, jvm, kotlin, kotlinmultiplatform
- Language: Kotlin
- Homepage:
- Size: 193 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vaccination-tracker
## See more:
- [ios-pod-repo](https://github.com/iurysza/vacctracker-pod-repo)
- [multiplatform-client](https://github.com/iurysza/multiplaform-client)
- [android-client](https://github.com/iurysza/vactracker-android-client)
- [ios-client](https://github.com/iurysza/vacctracker-ios-client)
- [react-native-wrapper](https://github.com/iurysza/vaccination-tracker-react-native)A library that provides Brazilian vaccination data targeting iOS, Android and the Jvm.
## Android
There's always a `release` and `debug` version of the same task, so replace `$variant` for the one you need.
### Building
Creating debug and release `aar`:
```bash
$ gradle :vaccination-tracker:bundle${variant}Aar
```These will create an `.aar` in the `vaccination-tracker/build/libs/` directory, that can be imported in any android project directly.
### Publishing the library
To publish the library to your local maven repository you just need to run:
```bash
$ gradle :vaccination-tracker:publish${variant}PublicationToMavenLocal
```OR
You can publish it to `mavenCentral` . To do that you'll need to sign it. Fill this data in your `local.properties`.
```groovy
ossrhUsername=username
ossrhPassword=password
sonatypeStagingProfileId=stagingId
signing.key=key
signing.keyId=keyId
signing.password=keyPassword
```Then, you can run:
```bash
$ gradle :vaccination-tracker:publish${variant}PublicationToSonatypeRepository
```Either way, you can import it by adding
```kotlin
dependencies {
implementation("com.github.iurysza:vaccination-tracker:$version")
}
```## iOS
### Building
For the iOS we'll use `UniversalFatFramework` to be able to share this library with other developers.
These are `.framework`s with extra benefits:- **Universal** means they run on any iOS architecture (simulators and devices)
- **Fat** means that they're self contained. A dependencies are there.There's also a `release` and `debug` version of the same task, so replace `$variant` for the one you need.
```bash
$ gradle :vaccination-tracker:universal${variant}Framework
```### Publishing
--- WIP ---