Remove usages of the `jcenter()` Maven repository from build scripts
This merge request depends on 2 other merge requests being merged
Closes #209 (closed); Remove usages of jcenter()
Maven repository from build scripts.
NOTES:
- Replaced
jcenter()
usages frombuild.gradle (Project: NEST)
withmavenCentral()
- Removed the following implementations:
me.dm7.barcodescanner:zxing:1.9.13
com.karumi:dexter:5.0.0
- Copied code from
AbstractScannerFragment.java
to a newly createdAbstractScannerActivity.java
class- Updated the copied code to work as an activity
- Converted the deprecated class:
edu.ncc.nest.nestapp.Scanner.java
to use the new scanner implementation by extending the newAbstractScannerActivity.java
class - Converted the class
edu.ncc.nest.nestapp.UPCScanner.java
to use the new scanner implementation by extending the newAbstractScannerActivity.java
class - Also updated the following to the latest versions:
gradle
,google-services
,firebase
implementation, andapp-compat
implementation
ADDITIONAL NOTES:
- Renamed package
edu.ncc.nest.nestapp.AbstractScannerFragment
toedu.ncc.nest.nestapp.AbstractScanner
- Renamed layout file
fragment_abstract_scanner
toabstract_scanner
since it is used in bothAbstractScannerFragment.java
and AbstactScannerActivity.java` - Decided to convert the classes to the new scanner implementation instead of deleting them, to leave the old functionality in the app for now.
- In the future,
AbstractScannerActivity.java
may be able to be removed if it is no longer needed
- In the future,
Edited by Tyler Sizse