dynmap/dynmap-api/build.gradle

41 lines
798 B
Groovy
Raw Permalink 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 {
2024-04-27 05:50:43 +02:00
archiveClassifier = 'unshaded'
2018-08-12 06:42:08 +02:00
}
shadowJar {
dependencies {
include(dependency(":DynmapCoreAPI"))
2018-08-12 06:42:08 +02:00
}
2024-04-27 05:50:43 +02:00
destinationDirectory = file '../target'
archiveClassifier = ''
2018-08-12 06:42:08 +02:00
}
artifacts {
archives shadowJar
}
2022-01-23 01:54:44 +01:00
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}