Skip to content

Commit c1b09a2

Browse files
committed
update maven configuration
1 parent 53ba7bd commit c1b09a2

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Jitpack package repository - ESCPOS-ThermalPrinter-Android v3.3.1](https://jitpack.io/v/DantSu/ESCPOS-ThermalPrinter-Android.svg)](https://jitpack.io/#DantSu/ESCPOS-ThermalPrinter-Android/3.3.1)
1+
[![Jitpack package repository - ESCPOS-ThermalPrinter-Android v3.3.2](https://jitpack.io/v/DantSu/ESCPOS-ThermalPrinter-Android.svg)](https://jitpack.io/#DantSu/ESCPOS-ThermalPrinter-Android/3.3.2)
22
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
33

44
# Android library for ESC/POS Thermal Printer
@@ -60,7 +60,7 @@ To test this library, it's pretty simple !
6060

6161
## Installation
6262

63-
**Step 1.** Add the [JitPack](https://jitpack.io/#DantSu/ESCPOS-ThermalPrinter-Android/3.3.1) repository to your build file. Add it in your root `/build.gradle` at the end of repositories:
63+
**Step 1.** Add the [JitPack](https://jitpack.io/#DantSu/ESCPOS-ThermalPrinter-Android/3.3.2) repository to your build file. Add it in your root `/build.gradle` at the end of repositories:
6464

6565
```
6666
allprojects {
@@ -76,7 +76,7 @@ allprojects {
7676
```
7777
dependencies {
7878
...
79-
implementation 'com.github.DantSu:ESCPOS-ThermalPrinter-Android:3.3.1'
79+
implementation 'com.github.DantSu:ESCPOS-ThermalPrinter-Android:3.3.2'
8080
}
8181
```
8282

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
apply plugin: 'maven-publish'
21

32
buildscript {
43
repositories {

escposprinter/build.gradle

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'maven-publish'
23

3-
def libraryVersionCode = 3003001
4-
def libraryVersionName = "3.3.1"
4+
def libraryVersionCode = 3003002
5+
def libraryVersionName = "3.3.2"
56

67
android {
78
compileSdkVersion 33
@@ -40,14 +41,16 @@ afterEvaluate {
4041
publishing {
4142
publications {
4243
release(MavenPublication) {
43-
from components.release
4444
groupId = 'com.github.DantSu'
4545
artifactId = 'ESCPOS-ThermalPrinter-Android'
4646
version = libraryVersionName
4747
pom {
4848
name = 'Android library for ESC/POS Thermal Printer'
4949
description = 'Useful library to help Android developers to print with (Bluetooth, TCP, USB) ESC/POS thermal printers.'
5050
}
51+
afterEvaluate {
52+
from components.release
53+
}
5154
}
5255
}
5356
}

0 commit comments

Comments
 (0)