dynmap/dynmap-api/build.gradle

41 lines
776 B
Groovy
Raw Normal View History

2022-02-07 17:04:12 +01:00
apply plugin: 'eclipse'
eclipse {
project {
name = "Dynmap(dynmap-api)"
}
}
2018-08-12 06:42:08 +02:00
description = "dynmap-api"
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
2018-08-12 06:42:08 +02:00
dependencies {
2023-06-21 04:06:10 +02:00
compileOnly group: 'org.bukkit', name: 'bukkit', version:'1.7.10-R0.1-SNAPSHOT'
compileOnly project(":DynmapCoreAPI")
2018-08-12 06:42:08 +02:00
}
jar {
classifier = 'unshaded'
}
shadowJar {
dependencies {
include(dependency(":DynmapCoreAPI"))
2018-08-12 06:42:08 +02:00
}
destinationDir = file '../target'
classifier = ''
}
artifacts {
archives shadowJar
}
2022-01-23 01:54:44 +01:00
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}