Code Monkey home page Code Monkey logo

android-sdk-versions-plugin's People

Contributors

harvsu avatar lukaspaczos avatar mr1sunshine avatar zayankovsky avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-sdk-versions-plugin's Issues

๐Ÿš€ [Android SDK Versions Plugin] Release 1.0.1

Timeline
Week of Nov 18

Pre-release Testing

  • Apply Snapshot version of plugin in SDK module and build.

Release Checklist

  • Update snapshot version 1.0.1-SNAPSHOT
  • Update CHANGELOG.md
  • Tag 1.0.1 in GitHub
  • Make GitHub Release
  • Publish 1.0.1 artifact to Maven Central

/cc: @mapbox/mobile-telemetry

Migrate to Mapbox SDK Registry.

As Mapbox is now moving SDK releases to Mapbox SDK Registry, it will be good to move the publications to sdk registry from now.

๐Ÿž Plugin is not compatible with Gradle 7+

Configuration

  • Plugin Version 1.1.1

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

๐Ÿž Plugin breaks execution optimizations.

โฏ ./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:

  • Gradle detected a problem with the following location: '/home/tarigo/work/mapbox-sdk-common/platform/android/common/src/main/assets'. Reason: Task ':common:packageDebugAssets' uses this output of task ':common:saveSDKVersion' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.0.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.

๐Ÿž 1.1.1 is unresolvable

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

mapboxArtifactGroupId = 'com.mapbox.mapboxsdk'

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.

cc @mr1sunshine @tarigo @tobrun

๐Ÿš€ [Android SDK Versions Plugin] Release 1.0.0

Timeline
Week of Nov 18

Pre-release Testing

  • Apply Snapshot version of plugin in SDK module and build.

Release Checklist

  • Update snapshot version 1.0.0-SNAPSHOT
  • Update CHANGELOG.md
  • Tag 1.0.0 in GitHub
  • Make GitHub Release
  • Publish 1.0.0 artifact to Maven Central

/cc: @mapbox/mobile-telemetry

๐Ÿž Plugin is not compatible with Gradle Plugin 4.1

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

๐Ÿš€ [Android SDK Versions Plugin] Preview Release 0.1.0

Timeline
Week of Nov 11th

Pre-release Testing

  • Apply Snapshot version of plugin published locally in any SDK module and build.

Release Checklist

  • Update snapshot version 0.1.3-SNAPSHOT
  • Update CHANGELOG.md
  • Tag 0.1.3 in GitHub
  • Make GitHub Release
  • Publish 0.1.3 artifact to Maven Central

/cc: @mapbox/mobile-telemetry

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.