forked from schematico/trevor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (43 loc) · 1.18 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:5.0.0'
}
}
allprojects {
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
group 'co.schemati.trevor'
version '2.0.1-SNAPSHOT'
description 'Trevor is a platform-independent solution for cross-instance proxy communication'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
ext {
// Library versions
configurateVersion = "3.7.1"
gsonVersion = "2.8.5"
guavaVersion = "28.2-jre"
jedisVersion = '3.5.2'
// Platform versions
bungeeVersion = '1.16-R0.5-SNAPSHOT'
velocityVersion = '1.1.4'
}
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
dependencies {
compileOnly ("com.google.guava:guava:${guavaVersion}") {
transitive = true
}
compileOnly ("com.google.code.gson:gson:${gsonVersion}") {
transitive = true
}
}
tasks.named("build") {
dependsOn(tasks.named("shadowJar"))
}
}