mapbox / mapbox-base-android

This repository hosts annotation processors and module providers for Mapbox modular SDKs.
Other
11 stars 8 forks source link

Add support for Android 12 #64

Open kmadsen opened 2 years ago

kmadsen commented 2 years ago

I'm not positive I have the correct repository here.

com.mapbox.base:annotations-processor:0.5.0 seems to be where this is failing https://github.com/mapbox/mapbox-base-android/blob/6174812c961c2bc11dd08129138a64c0186bf8ca/buildSrc/src/main/kotlin/Project.kt#L2-L4

Running into an issue when trying to upgrade the navigation sdk to targetSdkVersion 31 https://github.com/mapbox/mapbox-navigation-android/pull/5099

kmadsen commented 2 years ago

EDIT this was fixed by changing

- kapt dependenciesList.mapboxAnnotationsProcessor
+ annotationProcessor dependenciesList.mapboxAnnotationsProcessor

I'm still leaving this ticket open since it's about android 12. But this isn't a blocking reason to do so

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':libnavigation-router:kaptDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
   > java.lang.reflect.InvocationTargetException (no error message)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':libtrip-notification:kaptDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
   > java.lang.reflect.InvocationTargetException (no error message)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

* Get more help at https://help.gradle.org
*