-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
42 lines (34 loc) · 1.03 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
group = 'mc.obliviate'
version = '23.3.0'
sourceCompatibility = 8
compileJava.options.encoding = 'UTF-8'
tasks.jar {
enabled = false
}
subprojects {
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
group = rootProject.group
version = rootProject.version
sourceCompatibility = 8
compileJava.options.encoding = 'UTF-8'
repositories {
mavenCentral()
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url = 'https://repo.maven.apache.org/maven2/' }
maven { url = 'https://repo.kryptonmc.org/releases' }
maven { url = 'https://jitpack.io' }
}
artifacts.archives(tasks.shadowJar)
tasks.jar {
enabled = true
}
tasks.shadowJar {
archiveFileName.set("MasterDuels-" + project.name + "-" + project.version + ".jar")
}
}