desktop-arrow-downInstallation

Erfahre über die Einbindung von surf-core in dein Projekt

Manuell

Füge die entsprechende Abhängikeit in dein Buildscript ein:

compileOnly("dev.slne.surf.core:<module>:<version>")

Verfügbare Module sind:

  • Common ("surf-core-api-common")

  • Paper ("surf-core-api-paper") - behinhaltet Common

  • Velocity ("surf-core-api-velocity") - beinhaltet Common

mit der aktuellen Version: 1.21.11-1.0.0-SNAPSHOT

Mit surf-api

Füge in deiner surf-api Platform Konfiguration die passende Platform ein:

// Common
withCoreCommon()

// Paper
withCorePaper()

// Velocity
withCoreVelocity()

Dabei wird automatisch die neuste verfügbare Version, abhängig von deiner surf-api Plugin Version benutzt.

Beispiel für Paper

Beispiel für Velocity

Last updated

Was this helpful?