Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plugins {
- id 'com.github.johnrengelman.shadow' version '4.0.4'
- id 'java'
- }
- sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
- repositories {
- mavenCentral()
- maven { url = "https://repo.aikar.co/content/groups/aikar/" }
- maven { url = "https://hub.spigotmc.org/nexus/content/groups/public/" }
- }
- compileJava {
- options.compilerArgs += ["-parameters"]
- options.fork = true
- options.forkOptions.executable = 'javac'
- }
- configurations {
- shadowAndCompile
- compile.extendsFrom(shadowAndCompile)
- }
- dependencies {
- compileOnly "org.spigotmc:spigot-api:1.13.2-R0.1-SNAPSHOT"
- shadowAndCompile "co.aikar:acf-core:0.5.0-SNAPSHOT"
- shadowAndCompile "co.aikar:acf-paper:0.5.0-SNAPSHOT"
- }
- shadowJar {
- configurations = [project.configurations.shadowAndCompile]
- exclude "org/intellij/**"
- exclude "org/jetbrains/**"
- relocate 'co.aikar.commands', 'de.test.joo.acf'
- }
- build.dependsOn shadowJar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement