Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.dccjll:zxing:'
}
dependencies {
implementation("com.github.dccjll:zxing:")
}
<dependency>
<groupId>com.github.dccjll</groupId>
<artifactId>zxing</artifactId>
<version></version>
</dependency>
libraryDependencies += "com.github.dccjll" % "zxing" % ""
:dependencies [[com.github.dccjll/zxing ""]]
##Get Started Developing To get started, please visit: https://github.com/zxing/zxing/wiki/Getting-Started-Developing
ZXing ("zebra crossing") is an open-source, multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages.
| 1D product | 1D industrial | 2D | ---------- | ------------- | -------------- | UPC-A | Code 39 | QR Code | UPC-E | Code 93 | Data Matrix | EAN-8 | Code 128 | Aztec (beta) | EAN-13 | Codabar | PDF 417 (beta) | | ITF | | | RSS-14 | | | RSS-Expanded |
| Module | Description
| ------------------- | -----------
| core | The core image decoding library, and test code
| javase | JavaSE-specific client code
| android | Android client Barcode Scanner
| androidtest | Android test app, ZXing Test
| android-integration | Supports integration with Barcode Scanner via
Intent
| android-core | Android-related code shared among android
, androidtest
, glass
| glass | Simple Google Glass application
| zxingorg | The source behind zxing.org
| zxing.appspot.com | The source behind web-based barcode generator at zxing.appspot.com
| Module | Description | ------ | ----------- | cpp | C++ port | iphone | iPhone client | objc | Objective C port | actionscript | Partial ActionScript port | jruby | JRuby wrapper
| Module | Description | --------------------------------------------------------------- | ----------- | QZXing | port to Qt framework | zxing-cpp | port to C++ (forked from the deprecated official C++ port) | zxing_cpp.rb | bindings for Ruby (not just JRuby), powered by zxing-cpp | jsqrcode | port to JavaScript | python-zxing | bindings for Python | ZXing .NET | port to .NET and C#, and related Windows platform | php-qrcode-detector-decoder | port to PHP | [ZXing Delphi] (https://github.com/Spelt/ZXing.Delphi) | Port to native Delphi object pascal, targeted at Firemonkey compatible devices (IOS/Android/Win/OSX) and VCL.
| Module | Description | ---------------------------------------------- | ----------- | Barcode4J | Generator library in Java | ZBar | Reader library in C99 | OkapiBarcode |
Post to the discussion forum or tag a question with zxing
on StackOverflow.
QR code is trademarked by Denso Wave, inc. Thanks to Haase & Martin OHG for contributing the logo.