9
0
mirror of https://gitlab.com/SamB440/rpgregions-2.git synced 2026-01-04 15:31:38 +00:00
Files
rpgregions-2/build.gradle
2019-12-16 15:12:01 +00:00

56 lines
1.5 KiB
Groovy

apply plugin: 'java'
group = pluginGroup
version = pluginVersion
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
repositories {
mavenCentral()
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 = 'redprotect-repo'
url = 'https://raw.githubusercontent.com/FabioZumbi12/RedProtect/mvn-repo/'
}
maven { url = "https://repo.aikar.co/content/groups/aikar/" }
maven { url "https://maven.enginehub.org/repo/" }
flatDir {
dirs 'libraries'
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compileOnly 'org.spigotmc:spigot-api:1.15-R0.1-SNAPSHOT'
implementation 'co.aikar:acf-paper:0.5.0-SNAPSHOT'
implementation 'co.aikar:idb-core:1.0.0-SNAPSHOT'
implementation 'com.zaxxer:HikariCP:2.4.1'
implementation 'mysql:mysql-connector-java:5.1.33'
implementation 'org.apache.commons:commons-lang3:3.6'
compileOnly 'com.sk89q.worldguard:worldguard-bukkit:7.0.2-SNAPSHOT'
compileOnly 'br.net.fabiozumbi12.RedProtect:RedProtect-Core:7.6.5'
compileOnly 'br.net.fabiozumbi12.RedProtect:RedProtect-Spigot:7.6.5'
compileOnly name: 'languagy-1.2.5'
}
import org.apache.tools.ant.filters.ReplaceTokens
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
}