2023-04-08 23:35:25 +02:00
|
|
|
plugins {
|
|
|
|
id "com.github.johnrengelman.shadow" version "2.0.4"
|
|
|
|
id "java"
|
|
|
|
id "maven"
|
|
|
|
id "net.ltgt.apt" version "0.10"
|
|
|
|
id "io.franzbecker.gradle-lombok" version "1.14"
|
|
|
|
}
|
2018-07-21 21:30:05 +02:00
|
|
|
|
|
|
|
group = pluginGroup
|
|
|
|
version = 1.1
|
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
targetCompatibility = 1.8
|
|
|
|
|
2023-04-08 23:35:25 +02:00
|
|
|
lombok {
|
|
|
|
version = '1.18.2'
|
|
|
|
sha256 = ""
|
|
|
|
}
|
|
|
|
|
2018-07-21 21:30:05 +02:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2023-04-08 23:35:25 +02:00
|
|
|
mavenLocal()
|
2018-07-21 21:30:05 +02:00
|
|
|
maven {
|
|
|
|
name = 'spigotmc-repo'
|
|
|
|
url = 'https://hub.spigotmc.org/nexus/content/groups/public/'
|
|
|
|
}
|
2023-04-08 23:35:25 +02:00
|
|
|
|
2018-07-21 21:30:05 +02:00
|
|
|
maven {
|
|
|
|
name = 'sonatype'
|
|
|
|
url = 'https://oss.sonatype.org/content/groups/public/'
|
|
|
|
}
|
2023-04-08 23:35:25 +02:00
|
|
|
|
2018-07-21 21:30:05 +02:00
|
|
|
maven {
|
|
|
|
name = 'nexus-hc'
|
2023-04-08 23:35:25 +02:00
|
|
|
url = 'http://nexus.hc.to/content/repositories/pub_releases/'
|
2018-07-21 21:30:05 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-04-08 23:35:25 +02:00
|
|
|
compile 'org.spigotmc:spigot:1.8.8-R0.1-SNAPSHOT'
|
2018-07-21 21:30:05 +02:00
|
|
|
compile 'net.milkbowl.vault:VaultAPI:1.6'
|
2023-04-08 23:35:25 +02:00
|
|
|
compile 'org.bukkit:bukkit:1.8.8-R0.1-SNAPSHOT'
|
2018-07-21 21:30:05 +02:00
|
|
|
compile group: 'org.xerial', name: 'sqlite-jdbc', version: '3.23.1'
|
2023-04-08 23:35:25 +02:00
|
|
|
apt 'org.projectlombok:lombok:1.14.8'
|
2018-07-21 21:30:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
import org.apache.tools.ant.filters.ReplaceTokens
|
|
|
|
|
|
|
|
processResources {
|
|
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
|
|
filter ReplaceTokens, tokens: [version: version]
|
|
|
|
}
|
|
|
|
}
|