Skip to content

Commit 240b673

Browse files
authored
Merge pull request #6 from icerockdev/develop
Release 0.2.0
2 parents 8ca2e3c + 2e856d1 commit 240b673

File tree

8 files changed

+21
-23
lines changed

8 files changed

+21
-23
lines changed

.github/workflows/compilation-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ jobs:
1616
uses: actions/setup-java@v1
1717
with:
1818
java-version: 1.8
19-
- name: Build and publish local
19+
- name: Check build
2020
run: ./gradlew -PlibraryPublish :geo:publishToMavenLocal

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ jobs:
1414
uses: actions/setup-java@v1
1515
with:
1616
java-version: 1.8
17-
- name: Build and publish to Bintray
17+
- name: Publish
1818
run: ./gradlew -PlibraryPublish :geo:publishAllPublicationsToBintrayRepository -DBINTRAY_USER=${{ secrets.BINTRAY_USER }} -DBINTRAY_KEY=${{ secrets.BINTRAY_KEY }}

README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
![moko-mvvm](https://user-images.githubusercontent.com/5010169/71337878-0e0d0f80-2580-11ea-8ac5-69a132334960.png)
2-
[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0) [![Download](https://api.bintray.com/packages/icerockdev/moko/moko-geo/images/download.svg) ](https://bintray.com/icerockdev/moko/moko-geo/_latestVersion) ![kotlin-version](https://img.shields.io/badge/kotlin-1.3.61-orange)
2+
[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0) [![Download](https://api.bintray.com/packages/icerockdev/moko/moko-geo/images/download.svg) ](https://bintray.com/icerockdev/moko/moko-geo/_latestVersion) ![kotlin-version](https://img.shields.io/badge/kotlin-1.3.70-orange)
33

44
# Mobile Kotlin geolocation module
55
This is a Kotlin Multiplatform library that provides geolocation to common code.
@@ -19,14 +19,16 @@ This is a Kotlin Multiplatform library that provides geolocation to common code.
1919
- **Geolocation tracking** - track user geolocation from common code;
2020

2121
## Requirements
22-
- Gradle version 5.4.1+
22+
- Gradle version 5.6.4+
2323
- Android API 16+
2424
- iOS version 9.0+
2525

2626
## Versions
2727
- kotlin 1.3.61
2828
- 0.1.0
2929
- 0.1.1
30+
- kotlin 1.3.70
31+
- 0.2.0
3032

3133
## Installation
3234
root build.gradle
@@ -41,15 +43,10 @@ allprojects {
4143
project build.gradle
4244
```groovy
4345
dependencies {
44-
commonMainApi("dev.icerock.moko:geo:0.1.1")
46+
commonMainApi("dev.icerock.moko:geo:0.2.0")
4547
}
4648
```
4749

48-
settings.gradle
49-
```groovy
50-
enableFeaturePreview("GRADLE_METADATA")
51-
```
52-
5350
## Usage
5451
in common code:
5552
```kotlin
@@ -103,7 +100,7 @@ Please see more examples in the [sample directory](sample).
103100
## Set Up Locally
104101
- The [geo directory](geo) contains the `geo` library;
105102
- In [sample directory](sample) contains sample apps for Android and iOS; plus the mpp-library connected to the apps;
106-
- For local testing use the `:geo:publishToMavenLocal` gradle task - so that sample apps use the locally published version.
103+
- For local testing use the `./publishToMavenLocal.sh` script - so that sample apps use the locally published version.
107104

108105
## Contributing
109106
All development (both new features and bug fixes) is performed in the `develop` branch. This way `master` always contains the sources of the most recently released version. Please send PRs with bug fixes to the `develop` branch. Documentation fixes in the markdown files are an exception to this rule. They are updated directly in `master`.

buildSrc/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ repositories {
1616
}
1717

1818
dependencies {
19-
implementation("dev.icerock:mobile-multiplatform:0.4.0")
20-
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61")
21-
implementation("com.android.tools.build:gradle:3.5.2")
19+
implementation("dev.icerock:mobile-multiplatform:0.6.0")
20+
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.70")
21+
implementation("com.android.tools.build:gradle:3.6.1")
2222
}
2323

2424
kotlinDslPluginOptions {

buildSrc/src/main/kotlin/Versions.kt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ object Versions {
55
const val minSdk = 16
66
}
77

8-
const val kotlin = "1.3.61"
8+
const val kotlin = "1.3.70"
99

1010
object Libs {
1111
object Android {
@@ -16,11 +16,11 @@ object Versions {
1616
}
1717

1818
object MultiPlatform {
19-
const val coroutines = "1.3.3"
20-
const val mokoGeo = "0.1.1"
21-
const val mokoParcelize = "0.2.0"
22-
const val mokoPermissions = "0.3.0"
23-
const val mokoMvvm = "0.4.0"
19+
const val coroutines = "1.3.4"
20+
const val mokoGeo = "0.2.0"
21+
const val mokoParcelize = "0.3.0"
22+
const val mokoPermissions = "0.5.0"
23+
const val mokoMvvm = "0.6.0"
2424
}
2525
}
26-
}
26+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

publishToMavenLocal.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
./gradlew -PlibraryPublish :geo:publishToMavenLocal $*

sample/ios-app/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ SPEC CHECKSUMS:
1313

1414
PODFILE CHECKSUM: 1b71d80cc7f81711555670bda957555a8503b31a
1515

16-
COCOAPODS: 1.8.3
16+
COCOAPODS: 1.9.0

0 commit comments

Comments
 (0)