forked from TrPlugins/TrMenu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (48 loc) · 1.78 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import java.text.SimpleDateFormat
plugins {
id 'java'
id 'io.izzel.taboolib' version '1.2'
id 'org.jetbrains.kotlin.jvm' version '1.4.10'
}
group 'me.arasple.mc.trmenu'
version '2.08'
taboolib {
tabooLibVersion = '5.45'
loaderVersion = '2.8'
classifier = null
relocate 'net.wesjd', project.group + '.modules.inputer.anvil'
}
task buildJar(dependsOn: [clean, jar])
processResources {
from(sourceSets.main.resources.srcDirs) {
include 'plugin.yml'
expand(
'name': project.name,
'main': project.group + ".boot.PluginBoot",
'version': project.version,
'taboolib': taboolib.tabooLibVersion,
'libDownload': System.properties['user.name'] != "Arasple",
'built': new SimpleDateFormat("yyyy-MM-dd' 'HH:mm:ss").format(new Date()),
'builder': System.properties['user.name'],
'os': "${System.properties['os.name']} ${System.properties['os.arch']} ${System.properties['os.version']}"
)
}
}
repositories {
maven { url 'https://jitpack.io' }
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
maven { url 'https://repo.codemc.org/repository/maven-public' }
maven { url 'https://repo.extendedclip.com/content/repositories/placeholderapi/' }
maven { url 'https://rayzr.dev/repo/' }
mavenCentral()
}
dependencies {
compile 'ink.ptms.core:v11600:11600:all'
compile 'ink.ptms.cronus:Cronus:1.1.0.2019.8.31-SNAPSHOT-4'
compile 'org.jetbrains.kotlin:kotlin-stdlib'
compile 'me.clip:placeholderapi:2.10.9'
compile 'net.luckperms:api:5.0'
taboo 'com.github.WesJD.AnvilGUI:anvilgui:-SNAPSHOT'
taboo 'org.bstats:bstats-bukkit:1.7'
compileOnly fileTree(dir: 'libs', includes: ['*.jar'])
}