-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
53 lines (46 loc) · 1.49 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
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.6.20'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
group 'moe.kouyou'
version '1.0.6'
archivesBaseName = 'momo-command'
repositories {
mavenLocal()
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/public/' }
maven { url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/' }
}
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.6.20'
implementation 'org.bstats:bstats-bukkit:3.0.0'
implementation 'org.bstats:bstats-base:3.0.0'
implementation 'org.mozilla:rhino-engine:1.7.14'
implementation 'org.mozilla:rhino-runtime:1.7.14'
implementation 'org.mozilla:rhino:1.7.14'
compileOnly 'org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT'
compileOnly 'me.clip:placeholderapi:2.11.1'
}
sourceSets {
main {
kotlin {
srcDir 'src/code'
}
resources {
srcDir 'src/resources'
}
}
}
shadowJar {
dependencies {
include dependency('org.jetbrains.kotlin:kotlin-stdlib:1.6.20')
include dependency('org.bstats:bstats-bukkit:3.0.0')
include dependency('org.bstats:bstats-base:3.0.0')
include dependency('org.mozilla:rhino-engine:1.7.14')
include dependency('org.mozilla:rhino-runtime:1.7.14')
include dependency('org.mozilla:rhino:1.7.14')
}
relocate 'org.bstats', '__momolib.command.bstats'
relocate 'kotlin', '__momolib.command.ktstd'
}
build.dependsOn shadowJar