-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
48 lines (35 loc) · 980 Bytes
/
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
plugins {
id "org.jetbrains.kotlin.jvm" version "1.2.60"
id "org.jetbrains.kotlin.kapt" version "1.2.60"
id "com.github.johnrengelman.shadow" version "2.0.4"
id 'flavor.pie.promptsign' version '1.1.0'
}
group = pluginGroup
version = pluginVersion
configurations {
compile.extendsFrom(kapt)
compile.extendsFrom(shadow)
}
repositories {
mavenCentral()
maven { url "https://repo.spongepowered.org/maven/" }
maven { url 'https://jitpack.io' }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.60"
kapt 'org.spongepowered:spongeapi:7.1.0-SNAPSHOT'
compile 'com.github.xDotDash:solace:3.6.0'
compile 'com.github.rojo8399:PlaceholderApi:4.4'
}
shadowJar {
configurations = [project.configurations.shadow]
relocate 'kotlin', 'solace.kotlin'
classifier = null
}
build.dependsOn(shadowJar)
signArchives.dependsOn(shadowJar)
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}