This commit is contained in:
matt 2019-04-03 12:17:24 -04:00
parent 929ef4313a
commit 6f3888a963
2 changed files with 6 additions and 2 deletions

View File

@ -10,18 +10,19 @@ buildscript {
resolutionStrategy { resolutionStrategy {
force 'com.google.guava:guava:21.0' force 'com.google.guava:guava:21.0'
force 'org.ow2.asm:asm:6.0_BETA' force 'org.ow2.asm:asm:6.0_BETA'
force 'commons-io:commons-io:2.4'
} }
} }
dependencies { dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4' classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4'
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:4.7.5' classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:4.8.1'
classpath 'org.ajoberstar:gradle-git:1.7.2'
} }
} }
plugins { plugins {
id 'net.minecrell.licenser' version '0.4.1' apply false id 'net.minecrell.licenser' version '0.4.1' apply false
id "org.ajoberstar.grgit" version "2.3.0"
} }
apply plugin: 'java' apply plugin: 'java'

View File

@ -80,7 +80,10 @@ task copyFiles {
shadowJar { shadowJar {
dependencies { dependencies {
relocate "org.slf4j", "com.sk89q.worldedit.slf4j"
include(dependency(':worldedit-core')) include(dependency(':worldedit-core'))
include(dependency('org.slf4j:slf4j-api'))
include(dependency("org.slf4j:slf4j-jdk14"))
} }
archiveName = "${parent.name}-${project.name.replaceAll("worldedit-", "")}-${parent.version}.jar" archiveName = "${parent.name}-${project.name.replaceAll("worldedit-", "")}-${parent.version}.jar"
destinationDir = file '../target' destinationDir = file '../target'