Skip to content

Commit

Permalink
Update: Nahrazení SpigotAPI -> PaperAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
mrwaked committed May 2, 2024
1 parent 3c43d82 commit b42caf0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ artifacts {

repositories {
mavenCentral();
maven { url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
maven { url "https://papermc.io/repo/repository/maven-public/" }
maven { url "https://repo.dmulloy2.net/nexus/repository/public/" }
maven { url "https://repo.maven.apache.org/maven2" }
maven { url "https://repo.destroystokyo.com/repository/maven-public//" }
Expand All @@ -43,7 +43,12 @@ repositories {
}

dependencies {
compileOnly fileTree(include: ['*.jar'], dir: 'libs') // Add everything in the lib folder.

// Paper
compileOnly group: 'io.papermc.paper', name: 'paper-api', version: '1.20.1-R0.1-SNAPSHOT'

// Add everything in the lib folder.
compileOnly fileTree(include: ['*.jar'], dir: 'libs')

// Plugin dependency
implementation 'org.jetbrains:annotations:23.0.0'
Expand All @@ -54,9 +59,6 @@ dependencies {
implementation 'org.quartz-scheduler:quartz:2.3.2'
implementation 'club.minnced:discord-webhooks:0.8.0'
compileOnly group: "com.comphenix.protocol", name: "ProtocolLib", version: "4.5.0";
compileOnly ('org.spigotmc:spigot-api:1.19.2-R0.1-SNAPSHOT') {
exclude group: 'net.md-5'
}
compileOnly 'com.sk89q.worldguard:worldguard-bukkit:7.0.1-SNAPSHOT'
}

Expand Down

0 comments on commit b42caf0

Please sign in to comment.