-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbuild.gradle
63 lines (55 loc) · 1.65 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
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:5.2.0'
}
}
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'eclipse'
group = 'fr.vmarchaud'
version = '3.0.10'
description = "mineweb_bridge"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenLocal()
maven { url "https://hub.spigotmc.org/nexus/content/groups/public/" }
maven { url "https://repo.dmulloy2.net/content/groups/public/" }
maven { url 'https://repo.spongepowered.org/maven' }
mavenCentral()
flatDir {
dirs 'dependencies'
}
}
dependencies {
compileOnly 'com.google.guava:guava:31.1-jre'
compileOnly 'com.google.code.gson:gson:2.9.0'
compileOnly ("com.comphenix.protocol:ProtocolLib:5.0.0") {
exclude group: "com.comphenix.executors"
// For
exclude group: "cglib"
}
implementation 'javax.xml.bind:jaxb-api:2.4.0-b180830.0359'
compileOnly 'org.spongepowered:spongeapi:7.1.0'
compileOnly "org.spigotmc:spigot-api:1.13.2-R0.1-SNAPSHOT"
compileOnly 'org.projectlombok:lombok:1.18.22'
annotationProcessor 'org.projectlombok:lombok:1.18.22'
implementation (group: "io.netty", name: "netty-codec-http", version: '4.1.82.Final') {
exclude group: "io.netty"
}
//compileOnly group: 'io.netty', name: 'netty-all', version: '4.1.82.Final'
compileOnly fileTree(include: ['*.jar'], dir: 'dependencies')
}
task moveIntoBukkit(type: Copy) {
from "build/libs/mineweb_bridge-${version}.jar"
into '../_SERVER/plugins/'
}
task moveIntoBungee(type: Copy) {
from "build/libs/mineweb_bridge-${version}.jar"
into '../_BUNGEE/plugins/'
}