Skip to content

Commit

Permalink
Fix SDK API 34 build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ltrudu committed Aug 23, 2024
1 parent 6dac66c commit d63ec19
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
16 changes: 12 additions & 4 deletions PrintWrapper/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ android {
compileSdkVersion 34

defaultConfig {
minSdkVersion 25
minSdkVersion 29
targetSdkVersion 34
versionCode 10
versionName "1.9.34"
versionCode 11
versionName "1.10"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand Down Expand Up @@ -55,13 +55,21 @@ android {
}
}

configurations.all {
resolutionStrategy.force "org.jetbrains.kotlin:kotlin-stdlib:1.8.22"
resolutionStrategy.force "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22"
}


dependencies {
//implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.8.22"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22"

implementation files('libs/ZSDK_ANDROID_API.jar')
implementation files('libs/jackson-core-2.2.3.jar')
implementation files('libs/jackson-annotations-2.2.3.jar')
implementation files('libs/jackson-databind-2.2.3.jar')
implementation 'androidx.appcompat:appcompat:1.2.0'
testImplementation 'junit:junit:4.12'
implementation 'com.tom-roush:pdfbox-android:2.0.27.0'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
import java.util.Map;
import java.util.concurrent.CountDownLatch;

import static androidx.core.content.ContextCompat.getSystemService;

public class PrinterDiscoveryDataMapHelper {

private static final String TAG = "USBConnect";
Expand Down

0 comments on commit d63ec19

Please sign in to comment.