|
1 | | -# Lazy Library [](https://jitpack.io/#xyz.srnyx/lazy-library) |
| 1 | +# Lazy Library [](https://repo.srnyx.com/#/releases/xyz/srnyx/lazy-library) |
2 | 2 |
|
3 | 3 | A Discord bot library for srnyx's JDA Discord bots ([Cobalt](https://github.com/Venox-Network/cobalt), [srnyx's Bot](https://github.com/srnyx/srnyx-bot), [Creator Laser Tag](https://github.com/Venox-Network/laser-tag-bot), etc...) |
4 | 4 |
|
5 | 5 | ### Wiki / Javadocs |
6 | 6 |
|
7 | 7 | - **Wiki:** [github.com/srnyx/lazy-library/wiki](https://github.com/srnyx/lazy-library/wiki) |
8 | | -- **Javadocs:** [javadoc.jitpack.io/xyz/srnyx/lazy-library/latest/javadoc/index.html](https://javadoc.jitpack.io/xyz/srnyx/lazy-library/latest/javadoc/index.html) |
| 8 | +- **Javadocs:** [repo.srnyx.com/javadoc/releases/xyz/srnyx/lazy-library/latest](https://repo.srnyx.com/javadoc/releases/xyz/srnyx/lazy-library/latest) |
9 | 9 |
|
10 | 10 | ## Importing |
11 | 11 |
|
12 | | -You can import the library using [Jitpack](https://jitpack.io/#xyz.srnyx/lazy-library). Make sure to replace `VERSION` with the version you want. You **MUST** use `implementation`. |
| 12 | +You can import the library using [Reposilite](https://repo.srnyx.com/#/releases/xyz/srnyx/lazy-library). Make sure to replace `VERSION` with the version you want. You **MUST** use `implementation`. |
13 | 13 |
|
14 | 14 | - **Gradle Kotlin** (`build.gradle.kts`)**:** |
15 | 15 | ```kotlin |
16 | 16 | // Required plugins |
17 | | -plugins { |
| 17 | +plugins { |
18 | 18 | java |
19 | | - id("com.github.johnrengelman.shadow") version "7.1.2" // https://github.com/johnrengelman/shadow/releases/latest |
| 19 | + id("com.gradleup.shadow") version "8.3.9" // https://github.com/GradleUp/shadow/releases/latest |
20 | 20 | } |
21 | | -// Jitpack repository |
22 | | -repositories { |
23 | | - maven("https://jitpack.io") |
| 21 | +// Reposilite repository |
| 22 | +repositories { |
| 23 | + maven("https://repo.srnyx.com/releases/") |
24 | 24 | } |
25 | 25 | // Lazy Library dependency declaration |
26 | 26 | dependencies { |
27 | | - implementation("xyz.srnyx", "lazy-library", "VERSION") |
| 27 | + implementation("xyz.srnyx:lazy-library:VERSION") |
28 | 28 | } |
29 | 29 | ``` |
30 | 30 | - **Gradle Groovy** (`build.gradle`)**:** |
31 | 31 | ```groovy |
32 | 32 | // Required plugins |
33 | 33 | plugins { |
34 | 34 | id 'java' |
35 | | - id 'com.github.johnrengelman.shadow' version '7.1.2' // https://github.com/johnrengelman/shadow/releases/latest |
| 35 | + id 'com.gradleup.shadow' version '8.3.9' // https://github.com/GradleUp/shadow/releases/latest |
36 | 36 | } |
37 | | -// Jitpack repository |
| 37 | +// Reposilite repository |
38 | 38 | repositories { |
39 | | - maven { url = 'https://jitpack.io' } |
| 39 | + maven { url = 'https://repo.srnyx.com/releases/' } |
40 | 40 | } |
41 | 41 | // Lazy Library dependency declaration |
42 | 42 | dependencies { |
43 | | - implementation 'xyz.srnyx:lazy-library:VERSION' |
| 43 | + implementation 'xyz.srnyx:lazy-library:VERSION' |
44 | 44 | } |
45 | 45 | ``` |
46 | 46 | * **Maven** (`pom.xml`)**:** |
@@ -75,12 +75,12 @@ dependencies { |
75 | 75 | </plugins> |
76 | 76 | </build> |
77 | 77 | ``` |
78 | | - * Jitpack repository |
| 78 | + * Reposilite repository |
79 | 79 | ```xml |
80 | 80 | <repositories> |
81 | 81 | <repository> |
82 | | - <id>jitpack</id> |
83 | | - <url>https://jitpack.io</url> |
| 82 | + <id>srnyx</id> |
| 83 | + <url>https://repo.srnyx.com/releases/</url> |
84 | 84 | </repository> |
85 | 85 | </repositories> |
86 | 86 | ``` |
|
0 commit comments