dynmap/dynmap-api/build.gradle
2024-04-26 22:50:43 -05:00

41 lines
798 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 {
archiveClassifier = 'unshaded'
}
shadowJar {
dependencies {
include(dependency(":DynmapCoreAPI"))
}
destinationDirectory = file '../target'
archiveClassifier = ''
}
artifacts {
archives shadowJar
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}