From ec39b83238759f1c89d12ac38c60c2064d029b0a Mon Sep 17 00:00:00 2001 From: Yuriy Budiyev Date: Tue, 25 Sep 2018 12:39:44 +0300 Subject: [PATCH] Dev --- README.md | 5 +++-- build.gradle | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index faa3431..0ca5ad5 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,8 @@ Code scanner library for [Android](https://developer.android.com), based on [ZXi * Portrait and landscape screen orientations * Back and front facing cameras * Customizable viewfinder -* Kotlin-friendly +* Kotlin friendly +* Touch focus ### Supported formats | 1D product | 1D industrial | 2D @@ -29,7 +30,7 @@ Code scanner library for [Android](https://developer.android.com), based on [ZXi Add dependency: ```gradle dependencies { - implementation 'com.budiyev.android:code-scanner:1.9.4' + implementation 'com.budiyev.android:code-scanner:2.0.0' } ``` Add camera permission to AndroidManifest.xml (Don't forget about dynamic permissions on API >= 23): diff --git a/build.gradle b/build.gradle index 9b6b4fb..b0f515e 100644 --- a/build.gradle +++ b/build.gradle @@ -6,8 +6,8 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:3.2.0' - classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0' - classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.0' + classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' + classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4' } } @@ -25,7 +25,7 @@ apply plugin: 'com.jfrog.bintray' ext { libraryName = 'CodeScanner' libraryDescription = 'Code scanner library for Android, based on ZXing' - libraryVersion = '1.9.4' + libraryVersion = '2.0.0' artifact = 'code-scanner' developerId = 'yuriy-budiyev' developerName = 'Yuriy Budiyev' @@ -45,7 +45,7 @@ android { defaultConfig { minSdkVersion 19 targetSdkVersion 28 - versionCode 54 + versionCode 55 versionName libraryVersion }