Skip to content

Commit

Permalink
Restore old Gradle version for jitpack compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
ltrudu committed Aug 23, 2024
1 parent e01c267 commit dc523f2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
19 changes: 7 additions & 12 deletions PrintWrapper/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ ext {
}

android {
namespace 'com.zebra.printwrapper'
ndkVersion "21.0.6113669"
compileSdkVersion 34
compileSdkVersion 33

defaultConfig {
minSdkVersion 25
targetSdkVersion 34
versionCode 10
versionName "1.9"
targetSdkVersion 33
versionCode 9
versionName "1.8"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand Down Expand Up @@ -56,20 +55,16 @@ 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 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.7.0'
testImplementation 'junit:junit:4.13.2'
implementation 'androidx.appcompat:appcompat:1.2.0'
testImplementation 'junit:junit:4.12'
implementation 'com.tom-roush:pdfbox-android:2.0.27.0'

}

def jarName = 'PrintWrapper.jar'
Expand Down
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ buildscript {
gradlePluginPortal()
}
dependencies {
classpath "com.android.tools.build:gradle:8.2.1"
classpath "com.android.tools.build:gradle:7.1.1"
//classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

plugins {
id 'com.android.application' version '8.2.1' apply false
id 'com.android.library' version '8.2.1' apply false
id 'com.android.application' version '7.2.1' apply false
id 'com.android.library' version '7.2.1' apply false

}

task clean(type: Delete) {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Aug 23 16:10:29 CEST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip

0 comments on commit dc523f2

Please sign in to comment.