Skip to content

Commit

Permalink
Trying to fix Jitpack error.
Browse files Browse the repository at this point in the history
  • Loading branch information
ltrudu committed Aug 28, 2024
1 parent f00e1a7 commit 24ed314
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
21 changes: 14 additions & 7 deletions PrintWrapper/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ plugins {
id 'com.android.library'
}

ext {
PUBLISH_GROUP_ID = 'com.zebra.printwrapper'
PUBLISH_ARTIFACT_ID = 'PrintWrapper'
PUBLISH_VERSION = '1.11'
}

android {
namespace 'com.zebra.printwrapper'

Expand All @@ -20,7 +14,7 @@ android {
minSdkVersion 29
targetSdkVersion 34
versionCode 12
versionName "1.11"
versionName "1.12"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand Down Expand Up @@ -77,6 +71,19 @@ dependencies {

}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
groupId = 'com.zebra.printwrapper'
artifactId = 'printwrapper'
version = '1.12'
}
}
}
}

def jarName = 'PrintWrapper.jar'

task clearJarRelease(type: Delete) {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ buildscript {
plugins {
id 'com.android.application' version '7.2.1' apply false
id 'com.android.library' version '7.2.1' apply false

id 'maven-publish'
}

task clean(type: Delete) {
Expand Down

0 comments on commit 24ed314

Please sign in to comment.