35 lines
649 B
Groovy
35 lines
649 B
Groovy
|
plugins {
|
||
|
id 'java'
|
||
|
id 'maven'
|
||
|
}
|
||
|
|
||
|
group 'me.loganb1max'
|
||
|
version '1.0-SNAPSHOT'
|
||
|
|
||
|
sourceCompatibility = 1.8
|
||
|
targetCompatibility = 1.8
|
||
|
|
||
|
tasks.withType(JavaCompile) {
|
||
|
options.encoding = 'UTF-8'
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
mavenLocal()
|
||
|
maven { url 'https://hub.spigotmc.org/nexus/content/groups/public/' }
|
||
|
maven { url 'https://oss.sonatype.org/content/groups/public/' }
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
compileOnly('com.destroystokyo.paper:paper-server:1.8.8-R0.1')
|
||
|
compileOnly('org.projectlombok:lombok:1.16.20')
|
||
|
}
|
||
|
|
||
|
clean {
|
||
|
delete(file('target'))
|
||
|
}
|
||
|
|
||
|
jar {
|
||
|
archiveName('Minions.jar')
|
||
|
destinationDir(file('target'))
|
||
|
}
|