Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,10 @@ jobs:
- name: Build Plugins SDK
run: make build-release

- name: Prepare MavenCentral release
env:
GPG_KEY_CONTENTS: ${{ secrets.GPG_KEY_CONTENTS }}
run: |
echo "${GPG_KEY_CONTENTS}" | base64 -d > signing-key.gpg
shell: bash

- name: Publish to MavenCentral
run: make publish
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_PRIVATE_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ javadoc:
./gradlew javadocrelease

publish:
./gradlew publishReleasePublicationToSonatypeRepository closeAndReleaseSonatypeStagingRepository
./gradlew publishReleasePublicationToMavenCentralRepository

generate-sanity-test:
npm install && node scripts/generate-activity-test.js
Expand Down
17 changes: 1 addition & 16 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
apply plugin: 'io.github.gradle-nexus.publish-plugin'

buildscript {
apply from: "${rootDir}/gradle/dependencies.gradle"

Expand All @@ -15,7 +13,7 @@ buildscript {
classpath 'com.android.tools.build:gradle:8.6.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.2.0"
classpath "org.jlleitschuh.gradle:ktlint-gradle:8.1.0"
classpath "io.github.gradle-nexus:publish-plugin:2.0.0"
classpath "com.vanniktech:gradle-maven-publish-plugin:0.34.0"
}
}

Expand Down Expand Up @@ -46,16 +44,3 @@ task clean(type: Delete) {
delete rootProject.buildDir
}

apply from: "${rootDir}/gradle/publish-root.gradle"
// Set up Sonatype repository
nexusPublishing {
repositories {
sonatype {
stagingProfileId = sonatypeStagingProfileId
username = ossrhUsername
password = ossrhPassword
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
}
}
}
7 changes: 0 additions & 7 deletions gradle/publish-root.gradle

This file was deleted.

13 changes: 6 additions & 7 deletions gradle/publish.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
apply plugin: 'maven-publish'
apply plugin: 'signing'
apply plugin: 'com.vanniktech.maven.publish.base'
apply from: '../gradle/artifact-settings.gradle'
apply from: '../gradle/publish-root.gradle'

version = project.ext.versionName
group = project.ext.mapLibreArtifactGroupId

afterEvaluate {
mavenPublishing {
publishToMavenCentral(true)
signAllPublications()
}

publishing {
publications {
release(MavenPublication) {
Expand Down Expand Up @@ -45,7 +48,3 @@ afterEvaluate {
}
}
}

signing {
sign publishing.publications
}
2 changes: 1 addition & 1 deletion ktx-mapbox-maps/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=0.1.0-SNAPSHOT
POM_ARTIFACT_ID=android-sdk-ktx-v7
POM_ARTIFACT_ID=android-sdk-ktx
POM_NAME=MapLibre Maps SDK for Android KTX
POM_DESCRIPTION=A set of Kotlin extensions for the MapLibre Maps SDK for Android.
116 changes: 60 additions & 56 deletions plugin-annotation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,75 +1,79 @@
# Changelog for the Mapbox Annotation Plugin
# Changelog for the MapLibre Annotation Plugin

Mapbox welcomes participation and contributions from everyone.
MapLibre welcomes participation and contributions from everyone.

### mapbox-android-plugin-annotation-v9:0.9.0 - August 13, 2020
### maplibre-android-plugin-annotation:4.0.0 - May 29, 2026
- Targets MapLibre Android 13.1.0
- Published to Maven Central via the vanniktech maven-publish plugin

### maplibre-android-plugin-annotation-v9:0.9.0 - August 13, 2020
#### Bugs
- Consumable events for click listeners [1124](https://github.com/mapbox/mapbox-plugins-android/pull/1124)
- Support multiple manager to be draggable [1125](https://github.com/mapbox/mapbox-plugins-android/pull/1125)
- End of drag event is consumed [1141](https://github.com/mapbox/mapbox-plugins-android/pull/1141)
- Consumable events for click listeners [1124](https://github.com/mapbox/maplibre-plugins-android/pull/1124)
- Support multiple manager to be draggable [1125](https://github.com/mapbox/maplibre-plugins-android/pull/1125)
- End of drag event is consumed [1141](https://github.com/mapbox/maplibre-plugins-android/pull/1141)

### mapbox-android-plugin-annotation-v9:0.8.0 - March 5, 2020
### maplibre-android-plugin-annotation-v9:0.8.0 - March 5, 2020
#### Features
- Switching all plugins to AndroidX [#1100](https://github.com/mapbox/mapbox-plugins-android/pull/1100)
- Expose underlying, generated Layer ID [#1071](https://github.com/mapbox/mapbox-plugins-android/pull/1071)
- Switching all plugins to AndroidX [#1100](https://github.com/mapbox/maplibre-plugins-android/pull/1100)
- Expose underlying, generated Layer ID [#1071](https://github.com/mapbox/maplibre-plugins-android/pull/1071)

### mapbox-android-plugin-annotation-v8:0.7.0 - June 11, 2019
### maplibre-android-plugin-annotation-v8:0.7.0 - June 11, 2019
#### Features
- uppercase static fields [#939](https://github.com/mapbox/mapbox-plugins-android/pull/939)
- add multi manager support [#941](https://github.com/mapbox/mapbox-plugins-android/pull/941)
- add getGeometry [#940](https://github.com/mapbox/mapbox-plugins-android/pull/940)
- remove java 8 language support [#943](https://github.com/mapbox/mapbox-plugins-android/pull/943)
- allow to set custom arbitrary data on an annotation [#948](https://github.com/mapbox/mapbox-plugins-android/pull/948)
- Update style spec, gen new features, remove obsolete zIndex [#947](https://github.com/mapbox/mapbox-plugins-android/pull/947)
- uppercase static fields [#939](https://github.com/mapbox/maplibre-plugins-android/pull/939)
- add multi manager support [#941](https://github.com/mapbox/maplibre-plugins-android/pull/941)
- add getGeometry [#940](https://github.com/mapbox/maplibre-plugins-android/pull/940)
- remove java 8 language support [#943](https://github.com/mapbox/maplibre-plugins-android/pull/943)
- allow to set custom arbitrary data on an annotation [#948](https://github.com/mapbox/maplibre-plugins-android/pull/948)
- Update style spec, gen new features, remove obsolete zIndex [#947](https://github.com/mapbox/maplibre-plugins-android/pull/947)

### mapbox-android-plugin-annotation-v7:0.6.0 - April 5, 2019
### maplibre-android-plugin-annotation-v7:0.6.0 - April 5, 2019
#### Features
- Maps SDK bump to 7.3.0 [#895](https://github.com/mapbox/mapbox-plugins-android/pull/895)
- Add toString, hashcode and equals [#858](https://github.com/mapbox/mapbox-plugins-android/pull/858)
- Delete all annotations method [#859](https://github.com/mapbox/mapbox-plugins-android/pull/859)
- Add style spec documentation generation [#879](https://github.com/mapbox/mapbox-plugins-android/pull/879)
- Move supported json properties docs to the public methods [#889](https://github.com/mapbox/mapbox-plugins-android/pull/889)
- Support string color for layout properties [#897](https://github.com/mapbox/mapbox-plugins-android/pull/897)
- Expose GeoJsonOptions [#909](https://github.com/mapbox/mapbox-plugins-android/pull/909)
- Maps SDK bump to 7.3.0 [#895](https://github.com/mapbox/maplibre-plugins-android/pull/895)
- Add toString, hashcode and equals [#858](https://github.com/mapbox/maplibre-plugins-android/pull/858)
- Delete all annotations method [#859](https://github.com/mapbox/maplibre-plugins-android/pull/859)
- Add style spec documentation generation [#879](https://github.com/mapbox/maplibre-plugins-android/pull/879)
- Move supported json properties docs to the public methods [#889](https://github.com/mapbox/maplibre-plugins-android/pull/889)
- Support string color for layout properties [#897](https://github.com/mapbox/maplibre-plugins-android/pull/897)
- Expose GeoJsonOptions [#909](https://github.com/mapbox/maplibre-plugins-android/pull/909)
#### Bugs
- Check if annotation is an active annotation when updating [#891](https://github.com/mapbox/mapbox-plugins-android/pull/891)
- Use with prefix for options [#898](https://github.com/mapbox/mapbox-plugins-android/pull/898)
- Notify gesture manager when drag is handled [#906](https://github.com/mapbox/mapbox-plugins-android/pull/906)
- Register only one style loaded listener [#905](https://github.com/mapbox/mapbox-plugins-android/pull/905)
- Use constants wherever property name strings are needed [#910](https://github.com/mapbox/mapbox-plugins-android/pull/910)
- Check if annotation is an active annotation when updating [#891](https://github.com/mapbox/maplibre-plugins-android/pull/891)
- Use with prefix for options [#898](https://github.com/mapbox/maplibre-plugins-android/pull/898)
- Notify gesture manager when drag is handled [#906](https://github.com/mapbox/maplibre-plugins-android/pull/906)
- Register only one style loaded listener [#905](https://github.com/mapbox/maplibre-plugins-android/pull/905)
- Use constants wherever property name strings are needed [#910](https://github.com/mapbox/maplibre-plugins-android/pull/910)

### mapbox-android-plugin-annotation-v7:0.5.0 - February 5, 2019
- Do not flag click events as handled [#822](https://github.com/mapbox/mapbox-plugins-android/pull/822)
- Update dependencies and javadoc source reference [#827](https://github.com/mapbox/mapbox-plugins-android/pull/827)
- Fixup remove drag listener naming [#833](https://github.com/mapbox/mapbox-plugins-android/pull/833)
- Maps SDK v7.1.1 [#820](https://github.com/mapbox/mapbox-plugins-android/pull/820)
### maplibre-android-plugin-annotation-v7:0.5.0 - February 5, 2019
- Do not flag click events as handled [#822](https://github.com/mapbox/maplibre-plugins-android/pull/822)
- Update dependencies and javadoc source reference [#827](https://github.com/mapbox/maplibre-plugins-android/pull/827)
- Fixup remove drag listener naming [#833](https://github.com/mapbox/maplibre-plugins-android/pull/833)
- Maps SDK v7.1.1 [#820](https://github.com/mapbox/maplibre-plugins-android/pull/820)

### mapbox-android-plugin-annotation-v7:0.4.0 - January 8, 2019
- Mapbox maps SDK for Android v7.0.0 [#800](https://github.com/mapbox/mapbox-plugins-android/pull/800)
- Save plugin's state across style changes [#800](https://github.com/mapbox/mapbox-plugins-android/pull/800/commits/cba17474e6087faf94375570700d4edfc52b6dd6)
- Exposed filter API [#775](https://github.com/mapbox/mapbox-plugins-android/pull/775)
- Create annotations from FeatureCollection/GeoJSON [#772](https://github.com/mapbox/mapbox-plugins-android/pull/772)
- Invalid symbol ID during animation fix [#776](https://github.com/mapbox/mapbox-plugins-android/pull/776/commits/c2488010f27107693fd529a01afc2f51ecde03cf)
- Make package private abstract classes public [#769](https://github.com/mapbox/mapbox-plugins-android/pull/769)
- Draggable builder option [#768](https://github.com/mapbox/mapbox-plugins-android/pull/768)
- Generic geometry [#777](https://github.com/mapbox/mapbox-plugins-android/pull/777)
### maplibre-android-plugin-annotation-v7:0.4.0 - January 8, 2019
- Mapbox maps SDK for Android v7.0.0 [#800](https://github.com/mapbox/maplibre-plugins-android/pull/800)
- Save plugin's state across style changes [#800](https://github.com/mapbox/maplibre-plugins-android/pull/800/commits/cba17474e6087faf94375570700d4edfc52b6dd6)
- Exposed filter API [#775](https://github.com/mapbox/maplibre-plugins-android/pull/775)
- Create annotations from FeatureCollection/GeoJSON [#772](https://github.com/mapbox/maplibre-plugins-android/pull/772)
- Invalid symbol ID during animation fix [#776](https://github.com/mapbox/maplibre-plugins-android/pull/776/commits/c2488010f27107693fd529a01afc2f51ecde03cf)
- Make package private abstract classes public [#769](https://github.com/mapbox/maplibre-plugins-android/pull/769)
- Draggable builder option [#768](https://github.com/mapbox/maplibre-plugins-android/pull/768)
- Generic geometry [#777](https://github.com/mapbox/maplibre-plugins-android/pull/777)

### 0.3.0 - November 9, 2018
- Mapbox maps SDK for Android v6.7.0 [#728](https://github.com/mapbox/mapbox-plugins-android/pull/728)
- Draggable annotations [#753](https://github.com/mapbox/mapbox-plugins-android/pull/753)
- Set layer properties expressions only on utilized properties [#762](https://github.com/mapbox/mapbox-plugins-android/pull/762)
- Mapbox maps SDK for Android v6.7.0 [#728](https://github.com/mapbox/maplibre-plugins-android/pull/728)
- Draggable annotations [#753](https://github.com/mapbox/maplibre-plugins-android/pull/753)
- Set layer properties expressions only on utilized properties [#762](https://github.com/mapbox/maplibre-plugins-android/pull/762)

### 0.2.0 - October 25, 2018
- Expose below layer ID configuration [#677](https://github.com/mapbox/mapbox-plugins-android/pull/677)
- Add long click listeners to annotation manager [#685](https://github.com/mapbox/mapbox-plugins-android/pull/685)
- Add bulk annotation addition API [#689](https://github.com/mapbox/mapbox-plugins-android/pull/689)
- Add builder classes [#700](https://github.com/mapbox/mapbox-plugins-android/pull/700)
- Remove self update mechanism, CRUD interface [#702](https://github.com/mapbox/mapbox-plugins-android/pull/702)
- Add GeoJSON compatible API [#704](https://github.com/mapbox/mapbox-plugins-android/pull/704)
- Style spec update, z-ordering symbols [#718](https://github.com/mapbox/mapbox-plugins-android/pull/718)
- Color API for android color ints, remove string API [#721](https://github.com/mapbox/mapbox-plugins-android/pull/721)
- Use PointF instead of Float[] [#722](https://github.com/mapbox/mapbox-plugins-android/pull/722)
- Integrate pattern for fills and lines [#726](https://github.com/mapbox/mapbox-plugins-android/pull/726)
- Expose below layer ID configuration [#677](https://github.com/mapbox/maplibre-plugins-android/pull/677)
- Add long click listeners to annotation manager [#685](https://github.com/mapbox/maplibre-plugins-android/pull/685)
- Add bulk annotation addition API [#689](https://github.com/mapbox/maplibre-plugins-android/pull/689)
- Add builder classes [#700](https://github.com/mapbox/maplibre-plugins-android/pull/700)
- Remove self update mechanism, CRUD interface [#702](https://github.com/mapbox/maplibre-plugins-android/pull/702)
- Add GeoJSON compatible API [#704](https://github.com/mapbox/maplibre-plugins-android/pull/704)
- Style spec update, z-ordering symbols [#718](https://github.com/mapbox/maplibre-plugins-android/pull/718)
- Color API for android color ints, remove string API [#721](https://github.com/mapbox/maplibre-plugins-android/pull/721)
- Use PointF instead of Float[] [#722](https://github.com/mapbox/maplibre-plugins-android/pull/722)
- Integrate pattern for fills and lines [#726](https://github.com/mapbox/maplibre-plugins-android/pull/726)

### 0.1.0 - September 12, 2018
- Initial release
6 changes: 3 additions & 3 deletions plugin-annotation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ repositories {

```

Add [the latest version](https://central.sonatype.com/artifact/org.maplibre.gl/android-plugin-annotation-v9/versions) as a dependency to your project.
Add [the latest version](https://central.sonatype.com/artifact/org.maplibre.gl/android-plugin-annotation/versions) as a dependency to your project.

In the app-level `build.gradle` file:

```groovy
dependencies {
implementation 'org.maplibre.gl:android-plugin-annotation-v9:3.0.2'
implementation 'org.maplibre.gl:android-plugin-annotation:4.0.0'
}
```

```kotlin
dependencies {
implementation("org.maplibre.gl:android-plugin-annotation-v9:3.0.2")
implementation("org.maplibre.gl:android-plugin-annotation:4.0.0")
}
```

Expand Down
2 changes: 1 addition & 1 deletion plugin-annotation/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=0.10.0-SNAPSHOT
POM_ARTIFACT_ID=android-plugin-annotation-v9
POM_ARTIFACT_ID=android-plugin-annotation
POM_NAME=MapLibre Android Annotation Plugin
POM_DESCRIPTION=MapLibre Android Annotation Plugin
28 changes: 16 additions & 12 deletions plugin-building/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,33 @@
# Changelog for the Mapbox Building Plugin
# Changelog for the MapLibre Building Plugin

Mapbox welcomes participation and contributions from everyone.
MapLibre welcomes participation and contributions from everyone.

### mapbox-android-plugin-building-v9:0.7.0 - March 5, 2020
### maplibre-android-plugin-building:4.0.0 - May 29, 2026
- Targets MapLibre Android 13.1.0
- Published to Maven Central via the vanniktech maven-publish plugin

### maplibre-android-plugin-building-v9:0.7.0 - March 5, 2020
#### Features
- Switching all plugins to AndroidX [#1100](https://github.com/mapbox/mapbox-plugins-android/pull/1100)
- Make LAYER_ID of BuildingPlugin public [#997](https://github.com/mapbox/mapbox-plugins-android/pull/997)
- Switching all plugins to AndroidX [#1100](https://github.com/mapbox/maplibre-plugins-android/pull/1100)
- Make LAYER_ID of BuildingPlugin public [#997](https://github.com/mapbox/maplibre-plugins-android/pull/997)

### mapbox-android-plugin-building-v8:0.6.0 - June 11, 2019
### maplibre-android-plugin-building-v8:0.6.0 - June 11, 2019

No changes since last release. Release happened to update the module to `-v8`.

### mapbox-android-plugin-building-v7:0.5.0 - January 8, 2019
- Update building plugin with Maps SDK 7.0.0 [#795](https://github.com/mapbox/mapbox-plugins-android/pull/795)
### maplibre-android-plugin-building-v7:0.5.0 - January 8, 2019
- Update building plugin with Maps SDK 7.0.0 [#795](https://github.com/mapbox/maplibre-plugins-android/pull/795)

### 0.4.0 - May 23, 2018
- Updates Map SDK to 6.1.1 [#531](https://github.com/mapbox/mapbox-plugins-android/pull/531)
- Updates Map SDK to 6.1.1 [#531](https://github.com/mapbox/maplibre-plugins-android/pull/531)

### 0.3.0 - May 7, 2018
- Updates Map SDK to 6.1.1 [#488](https://github.com/mapbox/mapbox-plugins-android/pull/488)
- Lowered min SDK to API level 14 to match Map SDK [#472](https://github.com/mapbox/mapbox-plugins-android/pull/472)
- Updates Map SDK to 6.1.1 [#488](https://github.com/mapbox/maplibre-plugins-android/pull/488)
- Lowered min SDK to API level 14 to match Map SDK [#472](https://github.com/mapbox/maplibre-plugins-android/pull/472)

### 0.2.0 - April 18, 2018
- Updates Map SDK to 6.0.1
- Adds `isVisible` API [#404](https://github.com/mapbox/mapbox-plugins-android/pull/404)
- Adds `isVisible` API [#404](https://github.com/mapbox/maplibre-plugins-android/pull/404)

### 0.1.0 - July 19, 2017
- Initial release as a standalone package.
6 changes: 3 additions & 3 deletions plugin-building/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ repositories {

```

Add [the latest version](https://central.sonatype.com/artifact/org.maplibre.gl/android-plugin-building-v9/versions) as a dependency to your project.
Add [the latest version](https://central.sonatype.com/artifact/org.maplibre.gl/android-plugin-building/versions) as a dependency to your project.

In the app-level `build.gradle` file:

```groovy
dependencies {
implementation 'org.maplibre.gl:android-plugin-building-v9:3.0.2'
implementation 'org.maplibre.gl:android-plugin-building:4.0.0'
}
```

```kotlin
dependencies {
implementation("org.maplibre.gl:android-plugin-building-v9:3.0.2")
implementation("org.maplibre.gl:android-plugin-building:4.0.0")
}
```

Expand Down
2 changes: 1 addition & 1 deletion plugin-building/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=0.8.0-SNAPSHOT
POM_ARTIFACT_ID=android-plugin-building-v9
POM_ARTIFACT_ID=android-plugin-building
POM_NAME=MapLibre Android Building Plugin
POM_DESCRIPTION=MapLibre Android Building Plugin
Loading
Loading