mapbox / android-sdk-versions-plugin Goto Github PK
View Code? Open in Web Editor NEWThis plugin validates and persists Mapbox SDK versions in a file(in assets folder) at compile time.
License: MIT License
This plugin validates and persists Mapbox SDK versions in a file(in assets folder) at compile time.
License: MIT License
It seems there is an incompatibility issue with the android-sdk-versions-plugin
and gradle plugin 4.0.0, the error is printed as follows:
Cannot cast object 'task ':MapboxGLAndroidSDK:generateDebugBuildConfig' property 'versionCode'' with class 'org.gradle.api.internal.provider.DefaultProperty' to class 'java.lang.Integer'
cc @harvsu
Originally posted by @pengdev in mapbox/mapbox-gl-native-android#408
Timeline
Week of Nov 18
Pre-release Testing
Release Checklist
1.0.1-SNAPSHOT
CHANGELOG.md
1.0.1
in GitHub1.0.1
artifact to Maven Central/cc: @mapbox/mobile-telemetry
As Mapbox is now moving SDK releases to Mapbox SDK Registry, it will be good to move the publications to sdk registry from now.
Configuration
Steps to Reproduce
Upgrade a project that uses the mapbox-android-sdk-versions
plugin to use Gradle 7.0 or newer, e.g. by setting distributionUrl
in gradle-wrapper.properties
to https\://services.gradle.org/distributions/gradle-7.3-all.zip
.
Expected
No issues.
Logging
Some problems were found with the configuration of task ':libnavui-maneuver:saveSDKVersion' (type 'SaveSDKVersionInfoTask').
- In plugin 'com.mapbox.android.sdk.versions' type 'com.mapbox.android.sdk.versions.SaveSDKVersionInfoTask' property 'sdkName' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.3/userguide/validation_problems.html#missing_annotation for more details about this problem.
- In plugin 'com.mapbox.android.sdk.versions' type 'com.mapbox.android.sdk.versions.SaveSDKVersionInfoTask' property 'sdkVersion' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.3/userguide/validation_problems.html#missing_annotation for more details about this problem.
- In plugin 'com.mapbox.android.sdk.versions' type 'com.mapbox.android.sdk.versions.SaveSDKVersionInfoTask' property 'sdkVersionCode' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.3/userguide/validation_problems.html#missing_annotation for more details about this problem.
/cc @mapbox/navigation-android
Release 1.1.3 is not available on maven central. Last release available is 1.1.0
https://search.maven.org/artifact/com.mapbox.mapboxsdk/mapbox-android-sdk-versions/1.1.0/jar
/cc: @mapbox/mobile-telemetry
โฏ ./gradlew build
Starting a Gradle Daemon (subsequent builds will be faster)
Task :buildSrc:jar
๐ซ No valid plugin descriptors were found in META-INF/gradle-plugins
Task :common:packageDebugAssets
Execution optimizations have been disabled for task ':common:packageDebugAssets' to ensure correctness due to the following reasons:
The v1.1.1
has been released to the Mapbox's Maven hosting service, but it was pushed with an updated group ID from:
com.mapbox.mapboxsdk:mapbox-android-sdk-versions
to
com.mapbox.gradle.plugins:mapbox-android-sdk-versions
however, the package was not updated in
which breaks the compatibility:
> Could not resolve com.mapbox.gradle.plugins:mapbox-android-sdk-versions:1.1.1.
> inconsistent module metadata found. Descriptor: com.mapbox.mapboxsdk:mapbox-android-sdk-versions:1.1.1 Errors: bad group: expected='com.mapbox.gradle.plugins' found='com.mapbox.mapboxsdk'
We need to either re-upload with an updated group ID or revert the change.
Timeline
Week of Nov 18
Pre-release Testing
Release Checklist
1.0.0-SNAPSHOT
CHANGELOG.md
1.0.0
in GitHub1.0.0
artifact to Maven Central/cc: @mapbox/mobile-telemetry
Configuration
Steps to Reproduce
Upgrade a project that uses the sdk-versions-plugin to use Android Gradle Plugin 4.1 as well. Possibly related to https://developer.android.com/studio/releases/gradle-plugin#version_properties_removed_from_buildconfig_class_in_library_projects.
Expected
No issues.
Logging
A problem occurred configuring project ':libnavigation-core'.
> Cannot query the value of task ':libnavigation-core:generateDebugBuildConfig' property 'versionCode' because it has no value available.
/cc @harvsu @mapbox/navigation-android
Timeline
Week of Nov 11th
Pre-release Testing
Release Checklist
0.1.3-SNAPSHOT
CHANGELOG.md
0.1.3
in GitHub0.1.3
artifact to Maven Central/cc: @mapbox/mobile-telemetry
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.