|
4 | 4 | <a href="https://android-arsenal.com/api?level=21"> |
5 | 5 | <img src="https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat" alt="API"> |
6 | 6 | </a> |
7 | | -<img src="https://img.shields.io/github/v/release/w2sv/Compose-Utils?include_prereleases" alt="GitHub release (latest by date including pre-releases)"> |
| 7 | + |
| 8 | +<a href="https://jitpack.io/#w2sv/Composed"> |
| 9 | + <img src="https://jitpack.io/v/w2sv/Composed.svg" alt="JitPack"> |
| 10 | +</a> |
| 11 | + |
8 | 12 | <a href="https://github.com/w2sv/Compose-Utils/actions/workflows/workflow.yaml"> |
9 | 13 | <img src="https://github.com/w2sv/Compose-Utils/actions/workflows/workflow.yaml/badge.svg" alt="Build"> |
10 | 14 | </a> |
| 15 | + |
11 | 16 | <img src="https://img.shields.io/github/license/w2sv/Compose-Utils" alt="GitHub License"> |
12 | 17 | </p> |
13 | 18 |
|
|
19 | 24 |
|
20 | 25 | ------ |
21 | 26 |
|
22 | | -## Contents |
| 27 | +# Installation |
| 28 | + |
| 29 | +Make sure you have jitpack added to your dependency resolution repositories by adding the following to your `settings.gradle.kts`: |
| 30 | + |
| 31 | +```kotlin |
| 32 | +dependencyResolutionManagement { |
| 33 | + repositories { |
| 34 | + maven("https://jitpack.io") |
| 35 | + } |
| 36 | +} |
| 37 | +``` |
| 38 | + |
| 39 | +Then add the dependencies you lust for to your `build.gradle.kts` files: |
| 40 | + |
| 41 | +```kotlin |
| 42 | +dependencies { |
| 43 | + // Core utils |
| 44 | + implementation "com.github.w2sv.Composed:composed:<version>" |
| 45 | + // Permission utils |
| 46 | + implementation "com.github.w2sv.Composed:permissions:<version>" |
| 47 | +} |
| 48 | +``` |
| 49 | + |
| 50 | +# Contents |
23 | 51 |
|
24 | 52 | - [State Savers](#state-savers) |
25 | 53 | - [Styled Text](#styled-text) |
@@ -262,3 +290,19 @@ fun rememberExtendedMultiplePermissionsState( |
262 | 290 | ): ExtendedMultiplePermissionsState |
263 | 291 | ``` |
264 | 292 |
|
| 293 | +# License |
| 294 | +```xml |
| 295 | +Designed and developed by 2024 w2sv (Janek Zangenberg) |
| 296 | + |
| 297 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 298 | +you may not use this file except in compliance with the License. |
| 299 | +You may obtain a copy of the License at |
| 300 | + |
| 301 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 302 | + |
| 303 | +Unless required by applicable law or agreed to in writing, software |
| 304 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 305 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 306 | +See the License for the specific language governing permissions and |
| 307 | +limitations under the License. |
| 308 | +``` |
0 commit comments