generated from qzconnor/LabyModAddon-1.8.9
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
48 lines (41 loc) · 1.27 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
import java.text.SimpleDateFormat
buildscript {
repositories {
mavenCentral()
maven {
name = "forge"
url = "https://files.minecraftforge.net/maven"
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
version = ""
group = "com.github.l3nnartt" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "LouderVoiceChat"
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
minecraft {
version = "1.8.9-11.15.1.1855"
runDir = "run"
mappings = "stable_20"
}
jar {
manifest {
attributes(
'Manifest-Version': '1.0',
'Main-Class' : 'com.github.l3nnartt.loudervoicechat.Main',
'Build-Timestamp' : new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").format(new Date()),
'Created-By' : "Gradle ${gradle.gradleVersion}",
'Build-Jdk' : "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})"
)
}
}
reobf {
jar {
useNotchSrg()
}
}