Skip to content

Commit 19b4020

Browse files
authored
Merge pull request #28 from VaryaGet/main
Add jitpack.io support
2 parents 9c8dc26 + cacd3e4 commit 19b4020

File tree

3 files changed

+10
-29
lines changed

3 files changed

+10
-29
lines changed

README.md

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)
22

33
[![Build](https://github.com/ArtemGet/teleroute/actions/workflows/maven.yaml/badge.svg)](https://github.com/ArtemGet/teleroute/actions/workflows/maven.yaml)
4+
[![](https://jitpack.io/v/ArtemGet/teleroute.svg)](https://jitpack.io/#ArtemGet/teleroute)
45

56
[![Maintainability](https://api.codeclimate.com/v1/badges/1e5c08074d3bc271fbb8/maintainability)](https://codeclimate.com/github/ArtemGet/teleroute/maintainability)
67
[![codecov](https://codecov.io/gh/ArtemGet/teleroute/graph/badge.svg?token=FCGJORYEN5)](https://codecov.io/gh/ArtemGet/teleroute)
@@ -15,34 +16,7 @@ In case you want to use teleroute with other telegram library:
1516
1) [TelegramBots integration](https://github.com/ArtemGet/teleroute.telegrambots)
1617
2) [C# port](https://github.com/varya-kot/teleroute)
1718

18-
This library is distributed via [Github Packages (actual)](https://github.com/ArtemGet/teleroute/packages/2122234) so
19-
you have to include this setting in your ~/.m2
20-
21-
```xml
22-
<repository>
23-
<id>github</id>
24-
<name>Github ArtemGet Apache Maven Packages</name>
25-
<url>https://maven.pkg.github.com/ArtemGet/teleroute</url>
26-
</repository>
27-
28-
<servers>
29-
<server>
30-
<id>github</id>
31-
<username>your_username</username>
32-
<password>your_token</password>
33-
</server>
34-
</servers>
35-
```
36-
37-
And add dependency to your pom.xml
38-
39-
```xml
40-
<dependency>
41-
<groupId>com.github.Artemget</groupId>
42-
<artifactId>teleroute</artifactId>
43-
<version>0.3.0</version>
44-
</dependency>
45-
```
19+
This library is distributed via [jitpack.io](https://jitpack.io/#ArtemGet/teleroute)
4620

4721
## Understanding of concept:
4822

jitpack.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
jdk:
2+
- openjdk17
3+
before_install:
4+
- sdk install maven
5+
- mvn -v
6+
install:
7+
- mvn install -Pqulice -Pjtcop

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
-->
4747
<groupId>com.github.artemget</groupId>
4848
<artifactId>teleroute</artifactId>
49-
<version>0.3.0</version>
49+
<version>1.0-SNAPSHOT</version>
5050
<packaging>jar</packaging>
5151
<name>teleroute</name>
5252
<properties>

0 commit comments

Comments
 (0)