-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (42 loc) · 1.2 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
buildscript {
repositories {
maven { url 'https://plugins.gradle.org/m2' }
}
dependencies {
classpath "com.github.jengelman.gradle.plugins:shadow:6.1.0"
}
}
subprojects {
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
group = 'com.envyful.holograms'
version = '0.6.6'
sourceCompatibility = 1.8
targetCompatibility = 1.8
ext {
forgeVersion = "none"
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'https://repo.lucko.me/' }
maven { url = "https://repo.aikar.co/content/groups/aikar/" }
maven { url = "https://jitpack.io" }
maven {
name = 'sponge'
url = 'https://repo.spongepowered.org/maven'
}
}
task versionedRelease(type: Copy) {
group "build"
from('./build/libs/' + rootProject.name + '-Forge.jar')
into('../release/')
include '*.jar'
rename { String filename ->
filename.replace(".jar", "-${project.version}-${forgeVersion}.jar")
}
}
}