Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chocoearly44 committed Nov 21, 2022
1 parent 5780a13 commit 2decaa2
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 32 deletions.
29 changes: 9 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,22 @@

</div>

## Documentation
## Dokumentacija
Vse metode so dokumentirane in opisane v odseku [Wiki][wiki-url].

## Installation
## Namestitev
Zamenjajte VERSION z zadnjo različico iz [releases][releases-url].

### Maven
1. [Avtenticiraje se z GitHub Packages](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry#authenticating-to-github-packages)

2. Dodajte repozitorij
1. Dodajte repozitorij
```xml
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/chocoearly44/jea</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>repsy</id>
<url>https://repo.repsy.io/mvn/chocoearly44/maven</url>
</repository>
```

3. Dodajte knjižnjico
2. Dodajte knjižnjico
```xml
<dependency>
<groupId>tk.thesuperlab</groupId>
Expand All @@ -47,22 +42,16 @@ Zamenjajte VERSION z zadnjo različico iz [releases][releases-url].
```

### Gradle
1. [Avtenticiraje se z GitHub Packages](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry#authenticating-to-github-packages)

2. Dodajte repozitorij
1. Dodajte repozitorij
```groovy
repositories {
maven {
url = uri("https://maven.pkg.github.com/chocoearly44/jea")
credentials {
username = System.getenv("USERNAME")
password = System.getenv("TOKEN")
}
url "https://repo.repsy.io/mvn/chocoearly44/maven"
}
}
```

3. Dodajte knjižnjico
2. Dodajte knjižnjico
```groovy
dependencies {
implementation 'tk.thesuperlab:jea:VERSION'
Expand Down
78 changes: 66 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,31 @@

<groupId>tk.thesuperlab</groupId>
<artifactId>jea</artifactId>
<version>2.2</version>
<version>2.3</version>

<name>JEA</name>
<description>JEA omogoča dostop do podatkov za vaš eAsistent račun.</description>
<url>https://github.com/chocoearly44/JEA</url>

<licenses>
<license>
<name>MIT License</name>
<url>https://github.com/chocoearly44/JEA/blob/master/LICENSE</url>
</license>
</licenses>

<developers>
<developer>
<name>chocoearly44</name>
<email>[email protected]</email>
</developer>
</developers>

<scm>
<connection>scm:git:git://github.com/chocoearly44/JEA.git</connection>
<developerConnection>scm:git:ssh://github.com:chocoearly44/JEA.git</developerConnection>
<url>https://github.com/chocoearly44/JEA/tree/master</url>
</scm>

<properties>
<maven.compiler.source>8</maven.compiler.source>
Expand All @@ -16,19 +39,16 @@

<distributionManagement>
<repository>
<id>github</id>
<name>GitHub chocoearly44 Apache Maven Packages</name>
<url>https://maven.pkg.github.com/chocoearly44/jea</url>
<id>repsy</id>
<name>chocoearly44 Maven</name>
<url>https://repo.repsy.io/mvn/chocoearly44/maven</url>
</repository>
</distributionManagement>

<repositories>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/opentimetable/ottf4j</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>repsy</id>
<url>https://repo.repsy.io/mvn/opentimetable/maven</url>
</repository>
</repositories>

Expand All @@ -37,7 +57,7 @@
<dependency>
<groupId>org.opentimetable</groupId>
<artifactId>ottf4j</artifactId>
<version>1.0</version>
<version>1.1</version>
</dependency>

<dependency>
Expand All @@ -50,7 +70,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.13.3</version>
<version>2.14.0</version>
</dependency>

<dependency>
Expand All @@ -63,7 +83,7 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.8.2</version>
<version>5.9.0</version>
<scope>test</scope>
</dependency>

Expand All @@ -74,4 +94,38 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.1</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 2decaa2

Please sign in to comment.