forked from irtimaled/BoundingBoxOutlineReloaded
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
57 lines (48 loc) · 1.44 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
apply plugin: 'java'
group 'com.irtimaled'
version project.buildVersion + '-' + project.supportMCVersion
archivesBaseName = 'BBOutlineReloaded'
sourceCompatibility = 1.17
targetCompatibility = 1.17
repositories {
mavenCentral()
maven {
name = 'spigotmc-repo'
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
}
dependencies {
compileOnly fileTree(dir: 'lib', includes: ['*.jar'])
compileOnly 'org.jetbrains:annotations:23.0.0'
compileOnly "org.spigotmc:spigot-api:${project.bukkitApiVersion}-R0.1-SNAPSHOT" // spigot?
compileOnly 'io.netty:netty-buffer:4.1.82.Final'
compileOnly 'it.unimi.dsi:fastutil:8.5.6'
}
sourceSets {
main
}
jar {
manifest {
attributes([
// "Main-Class": "com.irtimaled.bbor.Main",
"Specification-Title" : "bbor",
"Specification-Vendor" : "Irtimaled",
"Specification-Version" : "1", // We are version 1 of ourselves
"Implementation-Title" : project.name,
"Implementation-Version" : "${version}",
"Implementation-Vendor" : "Irtimaled",
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
])
}
classifier = 'bukkit'
}
processResources {
filesMatching('plugin.yml') {
expand([
'version': project.version
])
}
}
artifacts {
archives jar
}