-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Adding Kotlin version of PolyActivity #197
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally LGTM - a few in-line comments.
tutorials/java/Polygons/README.md
Outdated
This demo app requires that you add your own Google Maps API key: | ||
|
||
1. [Get a Maps API key](https://developers.google.com/maps/documentation/android-sdk/get-api-key) | ||
1. Create a file in the `tutorials/java/Polygons` directory called `secure.properties` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be "...tutorials/java/Polygons/app
". Same with step below.
tutorials/kotlin/Polygons/README.md
Outdated
This demo app requires that you add your own Google Maps API key: | ||
|
||
1. [Get a Maps API key](https://developers.google.com/maps/documentation/android-sdk/get-api-key) | ||
1. Create a file in the `tutorials/kotlin/Polygons` directory called `secure.properties` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here - this and below step should be tutorials/kotlin/Polygons/app
implementation "androidx.core:core-ktx:+" | ||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | ||
} | ||
repositories { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe you can remove mavenCentral()
dependency.
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
|
||
buildscript { | ||
ext.kotlin_version = '1.3.72' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will dependabot catch dependencies to bump that have the version number pull out like this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately this won't be captured by Dependabot. There's an issue here that's been marked as stale: dependabot/dependabot-core#1618
🎉 This PR is included in version 1.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
* chore: Modify how API key is provided * Creating kotlin version of Polygons. * Add region tag for maps_poly_activity_get_map_async * Add region tag for maps_poly_activity_on_map_ready * Add region tag for maps_poly_activity_add_polyline * Add region tag for maps_poly_activity_add_polyline_set_tag * Add regiontag maps_poly_activity_style_polyline * Add region tag for maps_poly_activity_on_polyline_click * Add region tag for maps_poly_activity_style_polygon * Addressing comments.
Adding Kotlin version of tutorial PolyActivity found in https://developers.google.com/maps/documentation/android-sdk/polygon-tutorial
This change also adds the following region tags: