Skip to content

Commit

Permalink
updated jitpack configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
AmosKorir committed May 3, 2022
1 parent 20540ec commit 10134c1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
15 changes: 15 additions & 0 deletions mrzcardscanner/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
id 'maven-publish'
}

android {
Expand Down Expand Up @@ -55,4 +56,18 @@ dependencies {

implementation "androidx.camera:camera-view:${camerax_version}"
implementation "androidx.camera:camera-extensions:${camerax_version}"
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release

groupId = 'com.github.amoskorir'
artifactId = 'mrz_scanner'
version = '0.0.1'
}
}
}
}
13 changes: 11 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,17 @@ Android Library for scanning document MRZ documents.
Add the Following to your gradle file.

```java
NEW VERSION JITPACK DEPENDENCY
//TODO add dependency
//add jitpack
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}

//add dependency, check on the lastest release tag
implementation 'com.github.AmosKorir:mrz_scanner:Tag'

```

How to start reading
Expand Down

0 comments on commit 10134c1

Please sign in to comment.