mono0926 / barcode_scan2

[reborned barcode_scan] A flutter plugin for reading 2D barcodes and QR codes.
https://pub.dev/packages/barcode_scan2
MIT License
87 stars 79 forks source link

Replace jCenter? Can't build app with jCenter #56

Open maruzimuslih opened 2 years ago

maruzimuslih commented 2 years ago

BUG REPORTS WITHOUT PROVIDING THESE INFORMATIONS WILL BE CLOSED DIRECTLY. DON'T REMOVE THE SECTIONS!

Describe the bug Hi, thanks for the package

I see this is still using jCenter() which has been deprecated https://blog.gradle.org/jcenter-shutdown any chance of moving to mavenCentral()?

I can't build my project

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':barcode_scan2'.
> Could not resolve all artifacts for configuration ':barcode_scan2:classpath'.
   > Could not download protobuf-gradle-plugin-0.8.18.jar (com.google.protobuf:protobuf-gradle-plugin:0.8.18)
      > Could not get resource 'https://jcenter.bintray.com/com/google/protobuf/protobuf-gradle-plugin/0.8.18/protobuf-gradle-plugin-0.8.18.jar'.
         > Could not GET 'https://jcenter.bintray.com/com/google/protobuf/protobuf-gradle-plugin/0.8.18/protobuf-gradle-plugin-0.8.18.jar'.
            > Read timed out
> Failed to notify project evaluation listener.
   > Could not get unknown property 'android' for project ':barcode_scan2' of type org.gradle.api.Project.
   > Could not get unknown property 'android' for project ':barcode_scan2' of type org.gradle.api.Project.

* 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

BUILD FAILED in 10m 0s

To Reproduce Steps to reproduce the behavior:

  1. Build debug

Expected behavior Can build an app

Screenshots

Logs

Environment (please complete the following information):

Additional context