-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
105 lines (90 loc) · 2.53 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
100
101
102
103
104
105
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'eclipse'
id 'java'
id 'maven-publish'
id 'maven'
id 'com.github.johnrengelman.shadow' version '6.0.0'
id "io.freefair.lombok" version '5.3.0'
}
group = 'net.noobsters'
version = '0.8B-SNAPSHOT'
description = 'Noobsters UHC Engine'
sourceCompatibility = 11
targetCompatibility = 11
java {
withSourcesJar()
}
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
compileJava {
options.compilerArgs += ["-parameters"]
options.fork = true
options.forkOptions.executable = 'javac'
}
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
repositories {
maven {
url 'https://dev.repo.noobsters.net/'
credentials {
username "${hynx_usr}"
password "${hynx_pass}"
}
}
}
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven { url 'https://github.com/noobstersmc/NoobstersArena/raw/repository/'}
maven { url 'https://jitpack.io'}
maven { url 'https://repo.aikar.co/content/groups/aikar/'}
maven { url 'http://nexus.hc.to/content/repositories/pub_releases'}
maven { url 'https://maven.enginehub.org/repo/'}
maven { url 'https://repo.maven.apache.org/maven2/'}
maven { url 'https://repo.citizensnpcs.co/'}
maven {
url 'https://dev.repo.noobsters.net/'
credentials {
username "${hynx_usr}"
password "${hynx_pass}"
}
}
}
dependencies {
compile 'redis.clients:jedis:3.3.0'
compile 'com.squareup.okhttp3:okhttp:4.9.0'
compile 'co.aikar:acf-paper:0.5.0-SNAPSHOT'
compile 'co.aikar:taskchain-bukkit:3.7.2'
compile 'net.sf.trove4j:core:3.1.0'
compile 'com.github.ben-manes.caffeine:caffeine:2.8.5'
compile 'fr.mrmicky:FastInv:3.0.2'
compileOnly 'io.papermc:paperlib:1.0.4'
compileOnly 'com.destroystokyo.paper:paper-api:1.16.4-R0.1-SNAPSHOT'
compileOnly 'org.projectlombok:lombok:1.18.12'
compileOnly 'net.milkbowl.vault:VaultAPI:1.7'
compileOnly 'net.citizensnpcs:citizens-main:2.0.27-SNAPSHOT'
compileOnly 'net.noobsters:kern:0.4E'
}
processResources {
from(sourceSets.main.resources.srcDirs) {
expand 'version': project.version
include 'plugin.yml'
}
}
shadowJar {
minimize()
relocate 'co.aikar.commands', 'shadded.acf'
relocate 'fr.mrmicky', 'shadded.gui'
}
build.dependsOn shadowJar