-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
66 lines (55 loc) · 1.63 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
58
59
60
61
62
63
64
65
66
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
allprojects {
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
group 'net.leonardo_dgs'
version '1.2.0-SNAPSHOT'
description 'Create lifts with signs!'
repositories {
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'https://jitpack.io/' }
}
compileJava {
sourceCompatibility = JavaVersion.VERSION_1_8
options.encoding = 'UTF-8'
}
processResources {
expand(
version: project.version,
description: project.description,
author: 'Leonardo_DGS',
website: 'https://www.spigotmc.org/resources/71207/'
)
jar.enabled = false
}
}
subprojects {
if (it.name != 'common') {
dependencies {
implementation project(':common')
implementation project(path: ':common', configuration: 'shadow')
}
shadowJar {
minimize()
relocate 'org.bstats', 'net.leonardo_dgs.signselevators.lib.bstats'
relocate 'net.kyori', 'net.leonardo_dgs.signselevators.lib'
relocate 'org.intellij', 'net.leonardo_dgs.signselevators.lib.intellij'
relocate 'org.jetbrains', 'net.leonardo_dgs.signselevators.lib.jetbrains'
}
}
}
dependencies {
implementation project(path: ':bukkit', configuration: 'shadow')
}
shadowJar {
archiveBaseName.set(project.name)
archiveClassifier.set('')
archiveVersion.set('')
}
artifacts {
archives shadowJar
}