forked from froobynooby/SeeMore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (33 loc) · 1012 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
40
41
plugins {
id 'com.github.johnrengelman.shadow' version '8.1.1'
id 'java'
}
group 'com.froobworld'
version '1.0.2'
jar.enabled = false;
repositories {
mavenCentral()
mavenLocal()
maven {
url "https://repo.papermc.io/repository/maven-public/"
}
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.2'
compileOnly 'dev.folia:folia-api:1.19.4-R0.1-SNAPSHOT'
implementation 'com.froobworld:nab-configuration:1.0.2'
implementation 'org.bstats:bstats-base:3.0.1'
}
processResources {
filter { String line -> line.replace('${version}', project.version.toString()) }
}
shadowJar {
archiveFileName = 'SeeMore-' + project.version.toString() + '.jar';
relocate 'com.froobworld.nabconfiguration', 'com.froobworld.seemore.lib.nabconfiguration'
relocate 'org.bstats','com.froobworld.seemore.lib.bstats'
}
artifacts {
shadowJar;
}
assemble.dependsOn(shadowJar);