Break project into gradle modules, fix island level scan performance

This commit is contained in:
Esophose 2019-07-25 10:59:37 -06:00
parent eb4c4c9d6f
commit 077856e311
289 changed files with 5571 additions and 88 deletions

View 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)
}
}
}

View 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.

View 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