Add structure block

This commit is contained in:
N0tMyFaultOG committed 2021-01-07 20:02:34 +01:00
1 parent 7546e6ae87
commit 4d12cebcdb
4 files changed
+14 -2096

No files matched your search

+11 -8
View File
@@ -1,15 +1,16 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import net.minecrell.gradle.licenser.LicenseExtension
import org.cadixdev.gradle.licenser.LicenseExtension
plugins {
id("java")
id("net.minecrell.licenser") version "0.4.1"
id("java-library")
id("org.cadixdev.licenser") version "0.5.0"
id("com.github.johnrengelman.shadow") version "6.1.0"
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = sourceCompatibility
}
repositories {
@@ -30,10 +31,11 @@ repositories {
}
dependencies {
"compileOnly"("org.spigotmc:spigot-api:1.16.4-R0.1-SNAPSHOT")
"implementation"("com.mojang:authlib:1.5.25")
"implementation"("org.apache.logging.log4j:log4j-slf4j-impl:2.8.1")
"compile"("org.bstats:bstats-bukkit:1.8")
compileOnlyApi("org.spigotmc:spigot-api:1.16.4-R0.1-SNAPSHOT")
compileOnlyApi("com.mojang:authlib:1.5.25")
implementation("org.apache.logging.log4j:log4j-slf4j-impl:2.8.1")
implementation("org.bstats:bstats-bukkit:1.8")
implementation("com.github.cryptomorin:XSeries:7.8.0")
}
version = "2.0.0"
@@ -44,6 +46,8 @@ tasks.named<ShadowJar>("shadowJar") {
include(dependency("org.apache.logging.log4j:log4j-slf4j-impl"))
include(dependency("org.slf4j:slf4j-api"))
include(dependency("org.bstats:bstats-bukkit:1.8"))
include(dependency("com.github.cryptomorin:XSeries:7.8.0"))
relocate("com.cryptomorin.xseries", "net.arcaniax.utils")
relocate("org.apache.logging.slf4j", "net.arcaniax.logging.apache")
relocate("org.slf4j", "net.arcaniax.logging.slf4j")
relocate("org.bstats", "net.arcaniax.metrics")
@@ -54,7 +58,6 @@ configure<LicenseExtension> {
header = rootProject.file("HEADER")
newLine = false
include("**/*.java")
exclude("**/XMaterial.java")
}
tasks.named<Copy>("processResources") {