Guest User

Untitled

a guest
Apr 17th, 2022
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.94 KB | None | 0 0
  1. plugins {
  2.     id 'org.jetbrains.kotlin.jvm' version '1.6.20'
  3.     id 'java'
  4.     id 'com.github.johnrengelman.shadow' version '7.1.2'
  5. }
  6.  
  7. group 'org.example'
  8. version '1.0-SNAPSHOT'
  9.  
  10. repositories {
  11.     mavenCentral()
  12. }
  13.  
  14. repositories {
  15.     maven {
  16.         url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
  17.  
  18.         // As of Gradle 5.1, you can limit this to only those
  19.         // dependencies you expect from it
  20.         content {
  21.             includeGroup 'org.bukkit'
  22.             includeGroup 'org.spigotmc'
  23.         }
  24.     }
  25.     maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
  26.     maven { url = 'https://oss.sonatype.org/content/repositories/central' }
  27. }
  28.  
  29.  
  30. dependencies {
  31.     implementation "org.jetbrains.kotlin:kotlin-stdlib"
  32.     compileOnly 'org.spigotmc:spigot-api:1.18.2-R0.1-SNAPSHOT' // The Spigot API with no shadowing. Requires the OSS repo.
  33. }
  34.  
  35. test {
  36.     useJUnitPlatform()
  37. }
Add Comment
Please, Sign In to add comment