-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
39 lines (32 loc) · 857 Bytes
/
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
plugins {
id 'java'
}
group 'pers.defoliation'
version '1'
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
processResources {
from(sourceSets.main.resources.srcDirs) {
include 'plugin.yml'
expand 'version': "${releaseTime()}.${project.version}"
}
}
jar {
setArchiveName(
"${getArchivesBaseName()}-${releaseTime()}.${project.version}.jar"
)
}
def releaseTime() {
return new Date().format("yyyy-MM-dd", TimeZone.getTimeZone("UTC"))
}
repositories {
mavenCentral()
maven { url "http://ptms.ink:8081/repository/codemc-nms/" }
maven { url "http://ptms.ink:8081/repository/maven-releases/" }
mavenLocal()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
implementation(group: "pers.defoliation",name:"MiniGame",version: "2020.08.28.1")
}