-
Notifications
You must be signed in to change notification settings - Fork 29
/
build.gradle
70 lines (61 loc) · 2.15 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import java.text.SimpleDateFormat
plugins {
id 'java'
id 'io.izzel.taboolib' version '1.3'
id 'com.github.johnrengelman.shadow' version '6.1.0'
id 'org.jetbrains.kotlin.jvm' version '1.5.0'
}
group 'me.arasple.mc.trhologram'
version '2.3'
task buildJar(dependsOn: [clean, shadowJar])
taboolib {
tabooLibVersion = '5.7.2'
loaderVersion = '3.0.4'
classifier = null
builtin = true
}
shadowJar {
dependencies {
include dependency('org.bstats:bstats-bukkit')
include dependency('io.izzel.taboolib:TabooLibLoader')
}
relocate 'io.izzel.taboolib.loader', project.group + '.module.internal.boot'
relocate 'org.bstats.bukkit', project.group + '.module.internal.service.bstats'
}
repositories {
mavenCentral()
maven { url 'https://repo.extendedclip.com/content/repositories/placeholderapi/' }
maven { url 'https://repo.codemc.org/repository/maven-public' }
}
dependencies {
compile 'org.jetbrains.kotlin:kotlin-stdlib'
compile 'ink.ptms.core:v11604:11604:all'
compile 'ink.ptms.core:v11600:11600:all'
compile 'ink.ptms.core:v11300:11300:all'
compile 'ink.ptms.core:v11200:11200:all'
compile 'ink.ptms.core:v10900:10900:all'
compile 'me.clip:placeholderapi:2.10.9'
compile 'org.bstats:bstats-bukkit:1.8'
compileOnly fileTree(dir: 'libs', includes: ['*.jar'])
}
processResources {
from(sourceSets.main.resources.srcDirs) {
include 'plugin.yml'
expand(
name: rootProject.name,
main: project.group + '.module.internal.boot.PluginBoot',
version: project.version,
libVersion: taboolib.tabooLibVersion,
libDownload: true,
loaderVersion: taboolib.loaderVersion,
built: new SimpleDateFormat('yyyy-MM-dd HH:mm:ss').format(new Date()),
builder: System.properties.getProperty('user.name'),
os: System.properties.getProperty('os.name') + System.properties.getProperty('os.arch') + System.properties.getProperty('os.version')
)
}
}
compileKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xinline-classes"]
}
}