forked from Minecraft/Hush
37 lines
851 B
Groovy
37 lines
851 B
Groovy
plugins {
|
|
id 'com.github.johnrengelman.shadow' version '6.0.0'
|
|
id 'java'
|
|
}
|
|
|
|
group = 'com.zerohighdef'
|
|
version = '0.2.2'
|
|
|
|
sourceCompatibility = '8'
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
maven {
|
|
name = 'spigotmc-repo'
|
|
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
|
|
}
|
|
maven {
|
|
name = 'etztech-repo'
|
|
url = 'https://mvn.jojodev.com/releases/'
|
|
}
|
|
maven {url = 'https://jcenter.bintray.com'}
|
|
maven {url = 'https://jitpack.io'}
|
|
}
|
|
|
|
shadowJar {
|
|
project.configurations.implementation.canBeResolved = true
|
|
configurations = [project.configurations.implementation]
|
|
relocate 'xyz.etztech', 'shadow.xyz.etztech'
|
|
archiveClassifier.set('')
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'org.spigotmc:spigot-api:1.16.3-R0.1-SNAPSHOT'
|
|
implementation 'xyz.etztech:javacord:0.2.2'
|
|
}
|
|
|