mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2025-12-28 03:09:14 +00:00
57 lines
1.4 KiB
Groovy
57 lines
1.4 KiB
Groovy
plugins {
|
|
id 'com.github.johnrengelman.shadow' version '4.0.4'
|
|
id '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 { 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 name: 'languagy-1.2.6'
|
|
}
|
|
|
|
shadowJar {
|
|
relocate 'co.aikar.commands', 'net.islandearth.rpgmap.libs.acf'
|
|
relocate 'co.aikar.idb', 'net.islandearth.rpgmap.libs.idb'
|
|
}
|
|
|
|
import org.apache.tools.ant.filters.ReplaceTokens
|
|
|
|
processResources {
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
filter ReplaceTokens, tokens: [version: version]
|
|
}
|
|
}
|