This commit is contained in:
Telesphoreo 2020-12-15 09:31:01 -06:00
parent b9fb46eeeb
commit 23717f4a9b
No known key found for this signature in database
GPG key ID: 50B67E055A6F167C
3 changed files with 10 additions and 12 deletions

View file

@ -3,6 +3,10 @@ dependencies {
exclude group: "org.bukkit", module: "bukkit"
}
compileOnly 'net.luckperms:api:5.0'
compileOnly('me.totalfreedom:TotalFreedomMod:6.0') {
exclude group: "org.bstats", module: "bstats-bukkit"
exclude group: "me.rayzr522", module: "jsonmessage"
}
api 'io.papermc:paperlib:1.0.6'

View file

@ -7,7 +7,7 @@ buildscript {
plugins {
id 'org.ajoberstar.grgit' version '4.1.0'
id 'net.kyori.indra' version "$indraVersion" apply false
id 'net.kyori.indra.checkstyle' version "$indraVersion" apply false
//id 'net.kyori.indra.checkstyle' version "$indraVersion" apply false
id 'net.kyori.indra.publishing' version "$indraVersion" apply false
id 'com.github.johnrengelman.shadow' version '6.1.0' apply false
}
@ -40,7 +40,7 @@ ext {
fullVersion = "${version}-${GIT_COMMIT}".replace("-SNAPSHOT", "-dev+${GIT_DEPTH}")
checkstyleVersion = '8.36.2'
//checkstyleVersion = '8.36.2'
spigotVersion = '1.16.4-R0.1-SNAPSHOT'
junit5Version = '5.7.0'
mockitoVersion = '3.2.0'
@ -49,7 +49,7 @@ ext {
subprojects {
apply plugin: 'java'
apply plugin: 'net.kyori.indra'
apply plugin: 'net.kyori.indra.checkstyle'
//apply plugin: 'net.kyori.indra.checkstyle'
apply plugin: 'net.kyori.indra.publishing'
apply plugin: 'com.github.johnrengelman.shadow'
@ -62,6 +62,7 @@ subprojects {
includeGroup "com.github.milkbowl"
}
}
maven { url = 'https://telesphoreo.me/repo/maven/'}
}
dependencies {
@ -87,7 +88,7 @@ subprojects {
}
indra {
checkstyle = "$checkstyleVersion"
//checkstyle = "$checkstyleVersion"
github('EssentialsX', 'Essentials')
gpl3OnlyLicense()
@ -142,9 +143,7 @@ subprojects {
}
def outputTasks() {
[":EssentialsX:shadowJar", ":EssentialsXAntiBuild:jar", ":EssentialsXChat:jar",
":EssentialsXGeoIP:shadowJar", ":EssentialsXProtect:jar", ":EssentialsXSpawn:jar",
":EssentialsXXMPP:shadowJar"].stream().map({ tasks.findByPath(it) })
[":EssentialsX:shadowJar", ":EssentialsXSpawn:jar"].stream().map({ tasks.findByPath(it) })
}
task copyToJars(type: Copy) {

View file

@ -3,12 +3,7 @@ rootProject.name = 'EssentialsXParent'
// Modules
[
"",
"AntiBuild",
"Chat",
"GeoIP",
"Protect",
"Spawn",
"XMPP",
].each {
include(":EssentialsX$it")
project(":EssentialsX$it").projectDir = file("Essentials$it")