Changed dependencies from file to proper dependencies, also added flatDir to repository block.
This commit is contained in:
parent
758df7990e
commit
0b79bb5d06
13
build.gradle
13
build.gradle
@ -23,14 +23,17 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
maven {
|
maven {
|
||||||
name 'Vault-Repo'
|
url 'https://oss.sonatype.org/content/groups/public/'
|
||||||
url 'http://nexus.theyeticave.net/content/repositories/pub_releases'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
maven {
|
maven {
|
||||||
name 'dmulloy2-repo'
|
name 'dmulloy2-repo'
|
||||||
url 'http://repo.dmulloy2.net/content/groups/public/'
|
url 'http://repo.dmulloy2.net/content/groups/public/'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
flatDir {
|
||||||
|
dir 'libs'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task sourceJar(type: Jar, dependsOn: classes) {
|
task sourceJar(type: Jar, dependsOn: classes) {
|
||||||
@ -95,10 +98,8 @@ file('libs').mkdirs()
|
|||||||
ant.get src: 'https://www.dropbox.com/s/1ofgubrldjwamnk/spigot.jar?dl=1', dest: file('libs'), verbose: false, skipexisting: true
|
ant.get src: 'https://www.dropbox.com/s/1ofgubrldjwamnk/spigot.jar?dl=1', dest: file('libs'), verbose: false, skipexisting: true
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'org.bukkit:bukkit:' + project.ext.spigotVersion
|
compile "org.spigotmc:spigot-api:$project.ext.spigotVersion"
|
||||||
compile 'com.comphenix.protocol:ProtocolLib:3.6.5-SNAPSHOT'
|
compile 'com.comphenix.protocol:ProtocolLib:3.6.5-SNAPSHOT'
|
||||||
compile files(
|
compile name: 'spigot'
|
||||||
'libs/spigot.jar'
|
|
||||||
)
|
|
||||||
testCompile group: 'junit', name: 'junit', version: '4.10'
|
testCompile group: 'junit', name: 'junit', version: '4.10'
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ main: me.libraryaddict.disguise.LibsDisguises
|
|||||||
version: 8.6.8
|
version: 8.6.8
|
||||||
author: libraryaddict
|
author: libraryaddict
|
||||||
authors: [Byteflux, Navid K.]
|
authors: [Byteflux, Navid K.]
|
||||||
depend: [ProtocolLib]
|
softdepend: [ProtocolLib]
|
||||||
commands:
|
commands:
|
||||||
libsdisguises:
|
libsdisguises:
|
||||||
permission: libsdisguises.seecmd.libsdisguises
|
permission: libsdisguises.seecmd.libsdisguises
|
||||||
|
Loading…
Reference in New Issue
Block a user