Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goooler/opto
A lightweight Preferences DataStore wrapper.
https://github.com/goooler/opto
Last synced: 5 days ago
JSON representation
A lightweight Preferences DataStore wrapper.
- Host: GitHub
- URL: https://github.com/goooler/opto
- Owner: Goooler
- License: mit
- Created: 2022-08-31T04:09:46.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-18T01:39:25.000Z (2 months ago)
- Last Synced: 2024-10-12T20:25:11.545Z (about 1 month ago)
- Language: Kotlin
- Homepage:
- Size: 405 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Opto
[![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/io.github.goooler.opto/core?&server=https://s01.oss.sonatype.org/)](https://s01.oss.sonatype.org/content/repositories/snapshots/io/github/goooler/opto/)
Opto is a lightweight Preferences DataStore wrapper. Read more about it [here](https://patrykmichalik.com/projects/opto).
## Getting started
Opto is available on Maven Central. Ensure this repository is declared in your project-level `build.gradle` file.
```groovy
allprojects {
repositories {
mavenCentral()
}
}
```Then, add the dependencies you need via the module-level `build.gradle` file.
```groovy
dependencies {
implementation "io.github.goooler.opto:domain:$optoVersion"
implementation "io.github.goooler.opto:core:$optoVersion"
implementation "io.github.goooler.opto:compose:$optoVersion"
}
```