-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
47 lines (40 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
plugins {
id 'java-gradle-plugin'
id 'eclipse'
id 'idea'
id 'maven-publish'
id 'checkstyle'
id 'jacoco'
id "com.github.hierynomus.license" version "0.14.0"
id 'com.github.johnrengelman.shadow' version '4.0.1'
id "com.jfrog.bintray" version "1.8.4"
id "com.gradle.plugin-publish" version "0.10.0"
}
allprojects {
archivesBaseName = project.name.toLowerCase()
}
sourceCompatibility = "1.${version_java}"
targetCompatibility = "1.${version_java}"
repositories {
jcenter()
maven {
name 'Sonatype'
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
maven {
name 'Spigot'
url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
}
configurations {
shade
compile.extendsFrom shade
}
dependencies {
shade group: 'eu.hexagonmc', name: 'spigot-annotations', version: version_spigot_annotations
testCompile "junit:junit:${version_junit}"
testCompile "com.google.truth:truth:${version_truth}"
testCompile "org.spigotmc:spigot-api:${version_spigot}-SNAPSHOT"
testCompile "net.md-5:bungeecord-api:${version_bungeecord}-SNAPSHOT"
}
apply from: 'gradle/parts.gradle'