9
0
mirror of https://gitlab.com/SamB440/rpgregions-2.git synced 2026-01-04 15:31:38 +00:00
Files
rpgregions-2/rpgregions/build.gradle
2021-03-26 18:58:26 +00:00

110 lines
3.4 KiB
Groovy

plugins {
id 'java'
}
group = pluginGroup
version = pluginVersion
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
mavenLocal()
maven { url 'https://jitpack.io' }
maven {
name = 'papermc-repo'
url = 'https://papermc.io/repo/repository/maven-public/'
}
maven {
name = 'sonatype'
url = 'https://oss.sonatype.org/content/groups/public/'
}
maven {
name = 'CodeMC'
url = 'https://repo.codemc.org/repository/maven-public'
}
maven { url = "https://repo.aikar.co/content/groups/aikar/" }
// worldguard
maven { url "https://maven.enginehub.org/repo/" }
// PAPI
maven {
url = 'http://repo.extendedclip.com/content/repositories/placeholderapi/'
}
// plan
maven {
name = 'bintray'
url = 'https://dl.bintray.com/rsl1122/Plan-repository'
}
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/public/' }
// MythicMobs
maven {
url = 'https://mvn.lumine.io/repository/maven-public/'
}
flatDir { dir '../libraries' }
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.5'
testImplementation 'com.github.seeseemelk:MockBukkit-v1.15:0.3.0-SNAPSHOT'
testImplementation 'org.reflections:reflections:0.9.12'
implementation 'com.gitlab.samb440:languagy:2.0.3-RELEASE' // languagy
implementation 'co.aikar:acf-paper:0.5.0-SNAPSHOT' // commands
implementation 'co.aikar:idb-core:1.0.0-SNAPSHOT' // database
implementation 'com.zaxxer:HikariCP:2.4.1' // database
implementation 'org.apache.commons:commons-lang3:3.6' // apache commons (included as it has changed in versions)
implementation 'com.github.stefvanschie.inventoryframework:IF:0.9.5' // inventory framework
implementation 'org.bstats:bstats-bukkit:1.7' // plugin stats
implementation 'io.papermc:paperlib:1.0.4' // paperlib - async teleport on Paper
implementation 'com.github.WesJD.AnvilGUI:anvilgui:master-SNAPSHOT' // anvilgui
compileOnly ('com.sk89q.worldguard:worldguard-bukkit:7.0.4-SNAPSHOT') {
exclude group: 'com.destroystokyo.paper'
exclude group: 'org.spigotmc'
}
compileOnly ('com.sk89q.worldedit:worldedit-bukkit:7.2.0-SNAPSHOT') {
exclude group: 'com.google'
exclude group: 'org.bukkit'
exclude group: 'org.spigotmc'
}
compileOnly 'org.spigotmc:spigot-api:1.13.2-R0.1-SNAPSHOT' // spigot
compileOnly 'me.clip:placeholderapi:2.10.4' // PAPI
compileOnly 'com.github.MilkBowl:VaultAPI:1.7' // vault
compileOnly name: 'AlonsoLevels_v2.0-BETA' // alonsolevels
compileOnly name: 'Quests-4.0.1' // quests
compileOnly 'com.github.shynixn.headdatabase:hdb-api:1.0' // head database
compileOnly 'com.djrapitops:Plan-api:5.1-R0.4' // plan
compileOnly 'io.lumine.xikage:MythicMobs:4.9.1'
compileOnly 'org.jetbrains:annotations:19.0.0'
compileOnly project(':api')
}
javadoc {
exclude 'net/islandearth/rpgregions/translation/**'
exclude 'net/islandearth/rpgregions/listener/**'
exclude 'net/islandearth/rpgregions/gson/**'
exclude 'net/islandearth/rpgregions/commands/**'
exclude 'net/islandearth/rpgregions/utils/**'
}
import org.apache.tools.ant.filters.ReplaceTokens
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
}