Skip to content

Commit c517ac3

Browse files
committed
[+] Add spigot API dependency
1 parent 462f077 commit c517ac3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

build.gradle

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ version '0.1.0.51'
88

99
repositories {
1010
mavenCentral()
11+
12+
// Spigot MC
13+
maven {
14+
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
15+
content {
16+
includeGroup 'org.bukkit'
17+
includeGroup 'org.spigotmc'
18+
}
19+
}
1120
}
1221

1322
java {
@@ -18,6 +27,9 @@ java {
1827

1928

2029
dependencies {
30+
// The Spigot API with no shadowing. Requires the OSS repo.
31+
compileOnly 'org.spigotmc:spigot-api:1.19-R0.1-SNAPSHOT'
32+
2133
// Apache HTTP Client
2234
// https://mvnrepository.com/artifact/org.apache.httpcomponents.client5/httpclient5-fluent
2335
implementation 'org.apache.httpcomponents.client5:httpclient5-fluent:5.2-beta1'

0 commit comments

Comments
 (0)