mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-22 18:26:08 +01:00
Break project into gradle modules, fix island level scan performance
This commit is contained in:
parent
eb4c4c9d6f
commit
077856e311
62
FabledSkyBlock/Core/build.gradle
Normal file
62
FabledSkyBlock/Core/build.gradle
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
import org.apache.tools.ant.filters.ReplaceTokens
|
||||||
|
|
||||||
|
configurations {
|
||||||
|
extraLibs
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
// Project Dependencies
|
||||||
|
compile project(':FabledSkyBlock-Legacy')
|
||||||
|
|
||||||
|
// PlaceholderAPI
|
||||||
|
compileOnly (group: 'be.maximvdw', name: 'placeholderapi', version: '2.5.1')
|
||||||
|
compileOnly (group: 'me.clip', name: 'placeholderapi', version: '2.10.2')
|
||||||
|
|
||||||
|
// Vault
|
||||||
|
compileOnly (group: 'net.milkbowl', name: 'vault', version: '1.7.1')
|
||||||
|
|
||||||
|
// Leaderheads
|
||||||
|
compileOnly (group: 'me.robin', name: 'leaderheads', version: '1.0')
|
||||||
|
|
||||||
|
// EpicSpawners
|
||||||
|
compileOnly (group: 'com.songoda', name: 'epicspawners', version: '6-pre4')
|
||||||
|
|
||||||
|
// EpicAnchors
|
||||||
|
compileOnly (group: 'com.songoda', name: 'epicanchors', version: '1.2.5')
|
||||||
|
|
||||||
|
// UltimateStacker
|
||||||
|
compileOnly (group: 'com.songoda', name: 'ultimatestacker', version: '1.3.1')
|
||||||
|
|
||||||
|
// WildStacker
|
||||||
|
compileOnly (group: 'com.bgsoftware', name: 'wildstacker-api', version: 'b15')
|
||||||
|
|
||||||
|
// WorldEdit
|
||||||
|
compileOnly (group: 'com.sk89q', name: 'worldedit', version: '7.0.0')
|
||||||
|
|
||||||
|
// Apache Commons
|
||||||
|
extraLibs (group: 'org.apache.commons', name: 'commons-lang3', version: '3.0')
|
||||||
|
extraLibs (group: 'commons-io', name: 'commons-io', version: '2.5')
|
||||||
|
|
||||||
|
// Spigot
|
||||||
|
compileOnly (group: 'org.spigotmc', name: 'spigot', version: '1.14.1')
|
||||||
|
|
||||||
|
// Songoda Updater
|
||||||
|
extraLibs (group: 'com.songoda', name: 'songodaupdater', version: '1')
|
||||||
|
|
||||||
|
configurations.compileOnly.extendsFrom(configurations.extraLibs)
|
||||||
|
}
|
||||||
|
|
||||||
|
processResources {
|
||||||
|
from (sourceSets.main.resources.srcDirs) {
|
||||||
|
include '**/*.yml'
|
||||||
|
filter ReplaceTokens, tokens: ["version": project.property("version")]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
jar {
|
||||||
|
from {
|
||||||
|
configurations.extraLibs.collect {
|
||||||
|
it.isDirectory() ? it : zipTree(it)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
14
FabledSkyBlock/Core/build/resources/main/plugin.yml
Normal file
14
FabledSkyBlock/Core/build/resources/main/plugin.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
name: FabledSkyBlock
|
||||||
|
main: me.goodandevil.skyblock.SkyBlock
|
||||||
|
version: Build-78
|
||||||
|
api-version: 1.13
|
||||||
|
description: A unique SkyBlock plugin
|
||||||
|
author: Songoda
|
||||||
|
softdepend: [PlaceholderAPI, MVdWPlaceholderAPI, Vault, LeaderHeads, EpicSpawners, WildStacker, UltimateStacker, WorldEdit]
|
||||||
|
loadbefore: [Multiverse-Core]
|
||||||
|
commands:
|
||||||
|
island:
|
||||||
|
description: Island command
|
||||||
|
aliases: [is]
|
||||||
|
skyblock:
|
||||||
|
description: Skyblock info command.
|
2
FabledSkyBlock/Core/build/tmp/jar/MANIFEST.MF
Normal file
2
FabledSkyBlock/Core/build/tmp/jar/MANIFEST.MF
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Manifest-Version: 1.0
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user