-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
41 lines (34 loc) · 898 Bytes
/
Copy pathbuild.gradle
File metadata and controls
41 lines (34 loc) · 898 Bytes
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
plugins {
id 'com.github.johnrengelman.shadow' version '7.1.1'
id 'java'
}
group = 'org.creativecraft'
version = '1.0.3'
sourceCompatibility = '16'
targetCompatibility = '16'
repositories {
mavenCentral()
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/public/' }
maven { url = 'https://repo.aikar.co/content/groups/aikar/' }
flatDir {
dirs 'libs'
}
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT'
compileOnly 'xyz.jpenilla:squaremap-api:1.1.6'
compileOnly fileTree(dir: 'libs', include: '*.jar')
implementation 'org.bstats:bstats-bukkit-lite:1.8'
}
shadowJar {
relocate 'org.bstats', 'org.creativecraft.squaremapshop.lib.bstats'
}
processResources {
def props = [version: version]
inputs.properties props
filteringCharset 'UTF-8'
filesMatching('plugin.yml') {
expand props
}
}
build.dependsOn shadowJar