-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
87 lines (62 loc) · 1.93 KB
/
Copy pathbuild.gradle
File metadata and controls
87 lines (62 loc) · 1.93 KB
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 {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.20'
classpath 'net.sf.proguard:proguard-gradle:6.2.2'
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
group 'jp.kentan.minecraft.nekocore'
version '4.2.12'
sourceCompatibility = 1.8
configurations {
embed
compile.extendsFrom(embed)
}
repositories {
mavenCentral()
maven {
name = "Spigot"
url "https://hub.spigotmc.org/nexus/content/groups/public"
}
maven {
name 'bintray-nuvotifier-repo'
url 'https://dl.bintray.com/nuvotifier/maven/'
}
maven {
name "sk89q-repo"
url "http://maven.sk89q.com/repo/"
}
}
dependencies {
embed "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
embed 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.0.1'
compile 'org.spigotmc:spigot-api:1.13.2-R0.1-SNAPSHOT'
compile 'net.milkbowl.vault:VaultAPI:1.6'
compile 'com.vexsoftware:nuvotifier-bukkit:2.3.4'
compile 'me.lucko.luckperms:luckperms-api:4.3'
compile 'com.sk89q.worldguard:worldguard-legacy:7.0.0-SNAPSHOT'
compile 'com.sk89q.worldedit:worldedit-bukkit:7.0.0-SNAPSHOT'
compile files('libs/ShopChest-1.13-SNAPSHOT.jar')
embed 'com.squareup.okhttp3:okhttp:3.12.0'
embed 'com.squareup.retrofit2:retrofit:2.5.0'
embed 'com.squareup.retrofit2:converter-moshi:2.5.0'
embed 'org.jsoup:jsoup:1.11.3'
embed 'org.mariadb.jdbc:mariadb-java-client:2.3.0'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
jar {
from { configurations.embed.collect { it.isDirectory() ? it : zipTree(it) } }
}
task proguard(type: proguard.gradle.ProGuardTask, dependsOn: jar) {
injars jar.archivePath
configuration 'proguard.txt'
outjars("$buildDir/libs/${project.name}-${project.version}_proguard.jar")
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}