Skip to content

Commit c91d414

Browse files
committed
chore: added dependency info
1 parent d572aa2 commit c91d414

1 file changed

Lines changed: 51 additions & 0 deletions

File tree

README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,57 @@ public class ChatMessageEvent implements Event, Cancellable {
7575
}
7676
}
7777
```
78+
___
79+
80+
## Maven
81+
Adding repo:
82+
```xml
83+
<repositories>
84+
<repository>
85+
<id>luminiadev-repository-snapshots</id>
86+
<url>https://repo.luminiadev.com/snapshots</url>
87+
</repository>
88+
</repositories>
89+
```
90+
91+
Adding a library api:
92+
```xml
93+
<dependency>
94+
<groupId>com.luminiadev.eventbus</groupId>
95+
<artifactId>api</artifactId>
96+
<version>1.0.0-SNAPSHOT</version>
97+
</dependency>
98+
```
99+
100+
Adding a library implementation:
101+
```xml
102+
<dependency>
103+
<groupId>com.luminiadev.eventbus</groupId>
104+
<artifactId>core</artifactId>
105+
<version>1.0.0-SNAPSHOT</version>
106+
</dependency>
107+
```
108+
109+
## Gradle
110+
Adding repo:
111+
```groovy
112+
maven {
113+
name = "luminiadevRepositorySnapshots"
114+
url = uri("https://repo.luminiadev.com/snapshots")
115+
}
116+
```
117+
118+
Adding a library api:
119+
```groovy
120+
implementation "com.luminiadev.eventbus:api:1.0.0-SNAPSHOT"
121+
```
122+
123+
Adding a library implementation:
124+
```groovy
125+
implementation "com.luminiadev.eventbus:core:1.0.0-SNAPSHOT"
126+
```
127+
128+
___
78129

79130
### Special Thanks
80131
Inspired by the [AllayMC event system](https://github.com/AllayMC/Allay/tree/master/api/src/main/java/org/allaymc/api/eventbus), I took some code from here.

0 commit comments

Comments
 (0)