Skip to content

Commit f97eaf1

Browse files
authored
Create LocationFetcher-Compose. (#18)
Introduces `LocationFetcher-Compose`, a completely independent artifact that enables location fetching in `Composable` componentes.
1 parent aab776e commit f97eaf1

File tree

48 files changed

+960
-483
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+960
-483
lines changed

.github/workflows/publish-to-maven-central.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,12 @@ jobs:
2626
java-version: 11
2727

2828
# Builds the release artifacts of the library
29-
- name: Release build
29+
- name: Release LocationFetcher build
3030
run: ./gradlew :locationfetcher:assembleRelease
31-
31+
32+
- name: Release LocationFetcher-compose build
33+
run: ./gradlew :locationfetcher-compose:assembleRelease
34+
3235
# Generates other artifacts (javadocJar is optional)
3336
- name: Source jar and dokka
3437
run: ./gradlew androidSourcesJar

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/app
12
*.iml
23
.gradle
34
/local.properties

.idea/gradle.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

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

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

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

8082
```kotlin
8183
dependencies {
82-
implementation("app.freel:locationfetcher:8.2.2")
84+
implementation("app.freel:locationfetcher:9.0.0")
8385
}
8486
```
8587

app/build.gradle.kts

Lines changed: 0 additions & 50 deletions
This file was deleted.

app/src/androidTest/java/com/freelapp/app/ExampleInstrumentedTest.kt

Lines changed: 0 additions & 24 deletions
This file was deleted.

app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 23 deletions
This file was deleted.

app/src/main/java/com/freelapp/app/MainActivity.kt

Lines changed: 0 additions & 18 deletions
This file was deleted.

app/src/main/java/com/freelapp/app/ui/main/MainFragment.kt

Lines changed: 0 additions & 52 deletions
This file was deleted.

app/src/main/java/com/freelapp/app/ui/main/MainViewModel.kt

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)