mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-19 23:29:12 +01:00
b310a57b64
loader
41 lines
776 B
Groovy
41 lines
776 B
Groovy
apply plugin: 'eclipse'
|
|
|
|
eclipse {
|
|
project {
|
|
name = "Dynmap(dynmap-api)"
|
|
}
|
|
}
|
|
|
|
description = "dynmap-api"
|
|
|
|
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
|
|
|
|
dependencies {
|
|
compileOnly group: 'org.bukkit', name: 'bukkit', version:'1.7.10-R0.1-SNAPSHOT'
|
|
compileOnly project(":DynmapCoreAPI")
|
|
}
|
|
|
|
jar {
|
|
classifier = 'unshaded'
|
|
}
|
|
|
|
shadowJar {
|
|
dependencies {
|
|
include(dependency(":DynmapCoreAPI"))
|
|
}
|
|
destinationDir = file '../target'
|
|
classifier = ''
|
|
}
|
|
|
|
artifacts {
|
|
archives shadowJar
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
mavenJava(MavenPublication) {
|
|
from components.java
|
|
}
|
|
}
|
|
}
|