-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
52 lines (45 loc) · 1.56 KB
/
build.gradle
File metadata and controls
52 lines (45 loc) · 1.56 KB
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
import org.apache.tools.ant.filters.ReplaceTokens
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'maven-publish'
group = 'net.nextinfinity'
version = coreVersion
defaultTasks "jar"
repositories {
mavenLocal()
maven { url "http://repo.maven.apache.org/maven2" }
maven { url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
maven { url "http://ci.athion.net/job/FastAsyncWorldEdit-Breaking/ws/mvn/" }
maven { url "http://maven.sk89q.com/artifactory/repo" }
maven { url 'https://jitpack.io' }
maven { url 'http://nexus.hc.to/content/repositories/pub_releases' }
}
dependencies {
compile(group: 'org.spigotmc', name: 'spigot-api', version: '1.13.2-R0.1-SNAPSHOT')
compile(group: 'com.github.tr7zw.Item-NBT-API', name: 'item-nbt-api', version: '17ac2d7ebd')
compile(group: 'com.boydti', name: 'fawe-api', version: '1.13.129')
compile(group: 'com.boydti', name: 'fawe-bukkit', version: '1.13.129')
compile(group: 'net.milkbowl.vault', name: 'VaultAPI', version: '1.7')
}
processResources {
filter ReplaceTokens, tokens: [
"coreVersion": project.property("coreVersion")
]
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
maven {
// change to point to your repo, e.g. http://my.org/repo
url = "https://mymavenrepo.com/repo/nI80Ss96CF1nC92pr8xN"
credentials {
username "myMavenRepo"
password "craftathon"
}
}
}
}