forked from croxis/Lift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
78 lines (60 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
plugins {
id 'org.spongepowered.plugin' version '0.8.1'
}
defaultTasks 'clean', 'build'
//the naming of this artifact
group = 'net.croxis.plugins.lift'
jar.archiveFileName = 'Lift.jar'
version = '71'
description = 'Elevators!'
// Minimum version of Java required
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
//dependencies versions
ext.bukkitVersion = '1.16.4-R0.1-SNAPSHOT'
//dependencies declaration
dependencies {
compile group: 'fr.neatmonster', name: 'nocheatplus', version: '3.16.1-SNAPSHOT'
compile group: 'org.spigotmc', name: 'spigot-api', version: bukkitVersion
//compileOnly 'org.spigotmc:plugin-annotations:1.2.0-SNAPSHOT'
compile 'org.spongepowered:spongeapi:7.2.0'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
repositories {
mavenCentral()
mavenLocal()
maven {
name 'sonatype-nexus'
url 'https://oss.sonatype.org/content/groups/public'
}
maven {
url "https://repository-master.mulesoft.org/nexus/content/repositories/public/"
}
maven {
url "https://repository.jboss.org/nexus/content/repositories/"
}
maven {
url "http://repo.md-5.net/content/repositories/releases/"
}
maven {
url "http://repo.md-5.net/content/repositories/snapshots/"
}
maven {
url "https://hub.spigotmc.org/nexus/content/groups/public/"
}
maven {
name = 'metrics'
url "http://repo.mcstats.org/content/repositories/public"
}
maven {
name = 'sponge'
url = 'https://repo.spongepowered.org/maven'
}
}