maplibre / maplibre-plugins-android

MapLibre Native for Android Plugins
https://maplibre.org/
BSD 2-Clause "Simplified" License
20 stars 22 forks source link

Maplibre Android Plugin Installation V11 2.0.2 #56

Closed EULUSOY closed 2 months ago

EULUSOY commented 2 months ago

Hi; I'm trying to use plugins updated with Maplibre V11. I tried the installations below, but I could not install the plugins. Which format is correct?

App level build.gradle: implementation ("org.maplibre.android:maplibre-android-plugin-annotation-v11:2.0.2") implementation ("org.maplibre.android:maplibre-android-plugin-scalebar-v11:2.0.2")

Project level build.gradle: maven { url = uri("https://api.mapbox.com/downloads/v2/releases/maven") // Do not change the username below. It should always be "mapbox" (not your username). credentials.username = "mapbox" // Use the secret token stored in gradle.properties as the password credentials.password = providers.gradleProperty("MAPBOX_DOWNLOADS_TOKEN").get() authentication.create("basic") }

louwers commented 2 months ago

They are not released yet.

krupupakku commented 2 months ago

Also I think next version will be: implementation ("org.maplibre.android:maplibre-android-plugin-annotation-v11:3.0.0") or something like this :P

edit: i see https://central.sonatype.com/artifact/org.maplibre.gl/android-plugin-annotation-v9 is available shouldn't be v11 instead of v9?

louwers commented 2 months ago

Good point. We didn't update the package name for v10. Maybe we should drop the version postfix altogether?

louwers commented 2 months ago

@krupupakku Created an issue here: https://github.com/maplibre/maplibre-plugins-android/issues/57