27 lines
682 B
Groovy
27 lines
682 B
Groovy
plugins {
|
|
id 'org.spongepowered.plugin' version '0.9.0'
|
|
}
|
|
|
|
group = pluginGroup
|
|
version = pluginVersion
|
|
|
|
sourceCompatibility = '1.8'
|
|
targetCompatibility = '1.8'
|
|
|
|
compileJava.options.encoding = 'UTF-8'
|
|
|
|
jar {
|
|
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'org.spongepowered:spongeapi:7.1.0'
|
|
annotationProcessor 'org.spongepowered:spongeapi:7.1.0'
|
|
compile 'org.nanohttpd:nanohttpd:2.3.1'
|
|
compile 'org.reflections:reflections:0.9.12'
|
|
compile 'org.apache.directory.studio:org.apache.commons.io:2.4'
|
|
compile group: 'org.json', name: 'json', version: '20201115'
|
|
}
|
|
|
|
sponge.plugin.id = pluginId
|