Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated variant API in 2019 #32

Open
bmjohns opened this issue Jul 31, 2019 · 0 comments
Open

Deprecated variant API in 2019 #32

bmjohns opened this issue Jul 31, 2019 · 0 comments

Comments

@bmjohns
Copy link

bmjohns commented Jul 31, 2019

I am getting warnings that multiple API's from variant are getting deprecated in 2019 only when I run the fastlane that initiates this plugin. Can we please update these before the end of the year and this no longer works?

[15:56:25]: $ /Users/bmj1/Library/Android/sdk/platform-tools/adb devices
[15:56:25]: ▸ List of devices attached
[15:56:25]: ▸ emulator-5556 device
[15:56:25]: AVDs Booted!
[15:56:25]: Starting tests
[15:56:25]: Using gradle task.
[15:56:25]: $ ANDROID_SERIAL= ./gradlew connectedUATDebugAndroidTest
[15:56:27]: ▸ > Configure project :app
[15:56:27]: ▸ WARNING: API 'variant.getAssemble()' is obsolete and has been replaced with 'variant.getAssembleProvider()'.
[15:56:27]: ▸ It will be removed at the end of 2019.
[15:56:27]: ▸ For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[15:56:27]: ▸ To determine what is calling variant.getAssemble(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[15:56:27]: ▸ WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced with 'variantOutput.getProcessResourcesProvider()'.
[15:56:27]: ▸ It will be removed at the end of 2019.
[15:56:27]: ▸ For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[15:56:27]: ▸ To determine what is calling variantOutput.getProcessResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[15:56:27]: ▸ WARNING: API 'variantOutput.getProcessManifest()' is obsolete and has been replaced with 'variantOutput.getProcessManifestProvider()'.
[15:56:27]: ▸ It will be removed at the end of 2019.
[15:56:27]: ▸ For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[15:56:27]: ▸ To determine what is calling variantOutput.getProcessManifest(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[15:56:27]: ▸ WARNING: API 'variant.getMergeResources()' is obsolete and has been replaced with 'variant.getMergeResourcesProvider()'.
[15:56:27]: ▸ It will be removed at the end of 2019.
[15:56:27]: ▸ For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[15:56:27]: ▸ To determine what is calling variant.getMergeResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[15:56:27]: ▸ WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'.
[15:56:27]: ▸ It will be removed at the end of 2019.
[15:56:27]: ▸ For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[15:56:27]: ▸ To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[15:56:27]: ▸ WARNING: API 'variant.getPackageApplication()' is obsolete and has been replaced with 'variant.getPackageApplicationProvider()'.
[15:56:27]: ▸ It will be removed at the end of 2019.
[15:56:27]: ▸ For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[15:56:27]: ▸ To determine what is calling variant.getPackageApplication(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[15:56:27]: ▸ WARNING: API 'variant.getExternalNativeBuildTasks()' is obsolete and has been replaced with 'variant.getExternalNativeBuildProviders()'.
[15:56:27]: ▸ It will be removed at the end of 2019.
[15:56:27]: ▸ For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[15:56:27]: ▸ To determine what is calling variant.getExternalNativeBuildTasks(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant