Skip to content

Commit

Permalink
Create LocationFetcher-Compose. (#18)
Browse files Browse the repository at this point in the history
Introduces `LocationFetcher-Compose`, a completely independent artifact that enables location fetching in `Composable` componentes.
  • Loading branch information
psteiger authored May 1, 2022
1 parent aab776e commit f97eaf1
Show file tree
Hide file tree
Showing 48 changed files with 960 additions and 483 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish-to-maven-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ jobs:
java-version: 11

# Builds the release artifacts of the library
- name: Release build
- name: Release LocationFetcher build
run: ./gradlew :locationfetcher:assembleRelease


- name: Release LocationFetcher-compose build
run: ./gradlew :locationfetcher-compose:assembleRelease

# Generates other artifacts (javadocJar is optional)
- name: Source jar and dokka
run: ./gradlew androidSourcesJar
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/app
*.iml
.gradle
/local.properties
Expand Down
2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[![Download](https://img.shields.io/maven-central/v/app.freel/locationfetcher)](https://search.maven.org/artifact/app.freel/locationfetcher)

> :warning: If you're using Jetpack Compose, see [this README](locationfetcher-compose/README.md) instead.
Simple location fetcher for Android Apps built with Kotlin and Coroutines.

Building location-aware Android apps can be a bit tricky. This library makes it as simple as:
Expand Down Expand Up @@ -79,7 +81,7 @@ On app-level `build.gradle`, add dependency:

```kotlin
dependencies {
implementation("app.freel:locationfetcher:8.2.2")
implementation("app.freel:locationfetcher:9.0.0")
}
```

Expand Down
50 changes: 0 additions & 50 deletions app/build.gradle.kts

This file was deleted.

This file was deleted.

23 changes: 0 additions & 23 deletions app/src/main/AndroidManifest.xml

This file was deleted.

18 changes: 0 additions & 18 deletions app/src/main/java/com/freelapp/app/MainActivity.kt

This file was deleted.

52 changes: 0 additions & 52 deletions app/src/main/java/com/freelapp/app/ui/main/MainFragment.kt

This file was deleted.

7 changes: 0 additions & 7 deletions app/src/main/java/com/freelapp/app/ui/main/MainViewModel.kt

This file was deleted.

30 changes: 0 additions & 30 deletions app/src/main/res/drawable-v24/ic_launcher_foreground.xml

This file was deleted.

Loading

0 comments on commit f97eaf1

Please sign in to comment.