MinecraftManagerPlugin/build.gradle

47 lines
1.0 KiB
Groovy
Raw Normal View History

plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '6.0.0'
}
repositories {
mavenLocal()
maven {
url = uri('https://hub.spigotmc.org/nexus/content/groups/public/')
}
maven {
url = uri('https://mvn.jojodev.com/releases')
}
maven {
url = uri('https://jitpack.io')
}
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}
dependencies {
implementation 'commons-lang:commons-lang:2.6'
implementation 'log4j:log4j:1.2.17'
implementation 'xyz.etztech:plugin-api:1.0.7'
compileOnly 'org.spigotmc:spigot-api:1.18.1-R0.1-SNAPSHOT'
}
group = 'xyz.etztech'
version = '1.7'
description = 'MinecraftManager'
java.sourceCompatibility = JavaVersion.VERSION_1_8
shadowJar {
project.configurations.implementation.canBeResolved = true
configurations = [project.configurations.implementation]
relocate 'xyz.etztech', 'shadow.xyz.etztech'
archiveClassifier.set('')
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}