This repository has been archived by the owner on Jul 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
99 lines (85 loc) · 2.23 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
buildscript {
ext.kotlin_version = '1.3.31'
ext.ktor_version = '1.2.1'
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
}
}
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.31'
id 'net.minecrell.plugin-yml.bukkit' version '0.3.0'
}
apply plugin: 'maven-publish'
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
publishing {
publications {
mavenJava(MavenPublication) {
groupId pluginGroup
artifactId pluginName
version pluginVersion
from components.java
}
}
}
group = pluginGroup
version = pluginVersion
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
jcenter()
mavenLocal()
mavenCentral()
maven {
name = 'destroystokyo-repo'
url = 'https://repo.destroystokyo.com/content/repositories/snapshots/'
}
maven {
name = 'sonatype'
url = 'https://oss.sonatype.org/content/groups/public/'
}
maven {
name = 'papermc'
url = 'https://papermc.io/repo/repository/maven-public/'
}
maven {
name = 'inventive-repo'
url = 'https://repo.inventivetalent.org/content/groups/public/'
}
maven { url 'https://www.jitpack.io' }
}
kotlin {
experimental {
coroutines 'enable'
}
}
dependencies {
compileOnly 'com.destroystokyo.paper:paper-api:1.14.2-R0.1-SNAPSHOT'
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile 'org.inventivetalent:reflectionhelper:1.14.4-SNAPSHOT'
compile 'io.papermc:paperlib:1.0.2'
compile 'redis.clients:jedis:3.0.1'
compile 'org.iq80.leveldb:leveldb:0.11'
compile "io.ktor:ktor-server-netty:$ktor_version"
compile "io.ktor:ktor-websockets:$ktor_version"
compile 'org.slf4j:slf4j-jdk14:1.7.25'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
bukkit {
name = pluginName
main = 'cn.apisium.nekomap.Main'
apiVersion = '1.13'
website = 'apisium.cn'
author = 'Shirasawa'
commands {
// mission {
// description = 'The missizson system.'
// usage = '/mission <start|continue> <MissionName>'
// }
}
}