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 2
/
build.gradle
87 lines (72 loc) · 1.8 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
buildscript {
ext.kotlin_version = '1.3.61'
ext.ktor_version = '1.2.3'
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.2'
}
}
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
id 'net.minecrell.plugin-yml.bukkit' version '0.3.0'
}
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'kotlin'
apply plugin: 'kotlinx-serialization'
kotlin {
experimental {
coroutines "enable"
}
}
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/'
}
}
kotlin {
experimental {
coroutines 'enable'
}
}
dependencies {
compileOnly 'com.destroystokyo.paper:paper-api:1.14.4-R0.1-SNAPSHOT'
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
bukkit {
name = pluginName
main = 'net.nekocraft.fireworks.Main'
apiVersion = '1.13'
website = 'nekocraft.net'
author = 'Shirasawa'
softDepend = ['MCPanelBackend', 'KotlinCore']
commands {
fireworksstart {
description = 'Start the performance.'
usage = '/fireworksstart'
}
}
}