2019-06-21 19:14:55 +07:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'maven'
|
2020-06-26 02:39:04 +07:00
|
|
|
id 'com.github.johnrengelman.shadow' version '4.0.4'
|
2019-06-21 19:14:55 +07:00
|
|
|
}
|
|
|
|
|
2021-01-05 23:56:51 +07:00
|
|
|
group 'pw.hamzantal'
|
2019-06-21 19:14:55 +07:00
|
|
|
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/' }
|
2019-06-24 00:27:49 +07:00
|
|
|
maven { url 'https://jitpack.io' }
|
2019-06-28 21:48:08 +07:00
|
|
|
maven { url 'https://ci.ender.zone/plugin/repository/everything/' }
|
|
|
|
maven { url 'https://papermc.io/repo/repository/maven-public/' }
|
2019-06-21 19:14:55 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2019-06-21 19:18:48 +07:00
|
|
|
compileOnly(files('libs/paper-server-1.8.8-R0.1.jar'))
|
2020-06-26 02:39:04 +07:00
|
|
|
compile('org.projectlombok:lombok:1.18.12')
|
|
|
|
annotationProcessor('org.projectlombok:lombok:1.18.12')
|
2019-06-28 21:48:08 +07:00
|
|
|
compileOnly('com.github.MilkBowl:VaultAPI:1.7') {
|
2019-06-24 00:27:49 +07:00
|
|
|
exclude group: 'org.bukkit'
|
|
|
|
exclude group: 'org.spigot'
|
|
|
|
}
|
2019-06-28 21:48:08 +07:00
|
|
|
compileOnly('net.ess3:EssentialsX:2.17.0')
|
2019-06-21 19:14:55 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
clean {
|
|
|
|
delete(file('target'))
|
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
2019-06-24 00:27:49 +07:00
|
|
|
archiveName('MinionsPlus.jar')
|
2019-06-21 19:14:55 +07:00
|
|
|
destinationDir(file('target'))
|
|
|
|
}
|