Skip to content

Commit

Permalink
Merge pull request #82 from veryfi/veryfi/feature/ANDLENS-1175-update…
Browse files Browse the repository at this point in the history
…-android-lens

ANDLENS-1175: Updated Android Lens to 2.0.0.1
  • Loading branch information
decim92 authored Dec 16, 2024
2 parents 6dd4961 + 3e3f2ca commit 6c38e1b
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ package manager for Java.
Add in your project build.gradle file the Veryfi Lens Headless Receipts Android SDK dependency:
```ruby
dependencies {
implementation 'com.veryfi.lens.headless:receipts-sdk:1.7.3.37'
implementation 'com.veryfi.lens.headless:receipts-sdk:2.0.0.1'
}
```

Expand Down
34 changes: 17 additions & 17 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '17'
}

buildFeatures {
Expand All @@ -52,33 +52,33 @@ android {
}

androidResources {
noCompress "veryfi"
noCompress += "veryfi"
}

namespace 'com.veryfi.lens.headless.receipts.demo'
}

dependencies {
// Veryfi Lens
implementation 'com.veryfi.lens.headless:receipts-sdk:2.0.0.1'

implementation 'androidx.core:core-ktx:1.13.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'com.google.android.material:material:1.12.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.navigation:navigation-fragment-ktx:2.7.7'
implementation 'androidx.navigation:navigation-ui-ktx:2.7.7'
implementation 'androidx.constraintlayout:constraintlayout:2.2.0'
implementation 'androidx.navigation:navigation-fragment-ktx:2.8.5'
implementation 'androidx.navigation:navigation-ui-ktx:2.8.5'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
implementation 'com.github.lriccardo:TimelineView:1.1.2'
implementation 'com.github.pvarry:android-json-viewer:v1.1'

// Camera x
implementation "androidx.camera:camera-core:1.3.4"
implementation "androidx.camera:camera-camera2:1.3.4"
implementation "androidx.camera:camera-lifecycle:1.3.4"
implementation "androidx.camera:camera-video:1.3.4"
implementation "androidx.camera:camera-view:1.3.4"
implementation "androidx.camera:camera-extensions:1.3.4"

// Veryfi Lens
implementation 'com.veryfi.lens.headless:receipts-sdk:1.7.3.37'
implementation "androidx.camera:camera-core:1.4.1"
implementation "androidx.camera:camera-camera2:1.4.1"
implementation "androidx.camera:camera-lifecycle:1.4.1"
implementation "androidx.camera:camera-video:1.4.1"
implementation "androidx.camera:camera-view:1.4.1"
implementation "androidx.camera:camera-extensions:1.4.1"
}
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '8.3.1' apply false
id 'com.android.library' version '8.3.1' apply false
id 'com.android.application' version '8.7.3' apply false
id 'com.android.library' version '8.7.3' apply false
id 'org.jetbrains.kotlin.android' version '1.9.23' apply false
}

task clean(type: Delete) {
tasks.register('clean', Delete) {
delete rootProject.layout.buildDirectory
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx8g
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
Expand Down
6 changes: 3 additions & 3 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Aug 18 23:43:16 COT 2022
#Mon Sep 02 10:46:25 COT 2024
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 6c38e1b

Please sign in to comment.