Pebble text processing engine

This commit is contained in:
okx-code
2021-03-18 04:42:59 +00:00
parent cf3e892ad6
commit 240b83f43f
48 changed files with 1508 additions and 792 deletions
+35 -13
View File
@@ -1,10 +1,16 @@
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '6.1.0'
id "io.freefair.lombok" version "5.1.0"
}
group 'sh.okx'
version '3.11.4-beta'
version '3.12'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
mavenCentral()
@@ -24,27 +30,42 @@ repositories {
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation 'com.github.seeseemelk:MockBukkit-v1.15:0.3.0'
testImplementation 'com.github.seeseemelk:MockBukkit-v1.16:1.0.0'
testImplementation group: 'org.slf4j', name: 'slf4j-nop', version: '1.7.30'
testImplementation group: 'org.slf4j', name: 'slf4j-api', version: '1.7.30'
compileOnly 'org.jetbrains:annotations:16.0.2'
implementation 'org.spigotmc:spigot-api:1.16.4-R0.1-SNAPSHOT'
implementation('com.github.Realizedd:TokenManager:3.2.4') {
compileOnly 'org.spigotmc:spigot-api:1.17-R0.1-SNAPSHOT'
compileOnly('com.github.Realizedd:TokenManager:3.2.4') {
transitive = false
}
implementation('com.github.MilkBowl:VaultAPI:1.7') {
compileOnly('com.github.MilkBowl:VaultAPI:1.7') {
exclude group: 'org.bukkit'
}
implementation ('me.clip:placeholderapi:2.10.9') {
compileOnly ('me.clip:placeholderapi:2.10.9') {
exclude group: 'org.bstats'
}
implementation 'com.github.pyvesb:advanced-achievements:6.7.2'
implementation 'com.github.astei:Superbvote:700fca43659b438cb9bb36c218a7646d2f2ef315'
implementation('com.github.mcMMO-Dev:mcMMO:601297') {
compileOnly 'com.github.pyvesb:advanced-achievements:6.7.2'
compileOnly 'com.github.astei:Superbvote:700fca43659b438cb9bb36c218a7646d2f2ef315'
compileOnly('com.github.mcMMO-Dev:mcMMO:601297') {
exclude group: 'com.sk89q.worldguard'
}
implementation 'com.github.BenCodez:VotingPlugin:6.0'
implementation 'com.github.LlmDl:Towny:25fc18a'
compileOnly 'com.github.BenCodez:VotingPlugin:6.0'
compileOnly 'com.github.LlmDl:Towny:25fc18a'
implementation ('io.pebbletemplates:pebble:3.1.5') {
exclude group: 'org.slf4j'
}
}
artifacts {
archives shadowJar
}
shadowJar {
archiveClassifier.set('')
minimize()
}
// automatically copy the version to plugin.yml
@@ -64,8 +85,9 @@ processResources {
}
}
task spigot(type: Jar) {
task spigot(type: com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar) {
from sourceSets.main.runtimeClasspath
destinationDirectory = file("./spigot/plugins/")
archiveFileName = "Rankup.jar"
}
}