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"
2023-08-20 21:38:38 +02:00
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 {
2018-08-12 07:53:55 +02:00
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
}
}
}