-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
66 lines (52 loc) · 1.56 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
buildscript {
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.4'
classpath 'net.minecraftforge.gradle:ForgeGradle:3.+'
}
repositories {
maven {
url = 'https://files.minecraftforge.net/maven'
}
jcenter()
}
}
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'net.minecraftforge.gradle'
archivesBaseName = 'circuitry'
group = 'cmsc389e.' + archivesBaseName
version = '1.15.2-2.1.0.0'
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
println('Java: ' + System.getProperty('java.version') + ' JVM: ' + System.getProperty('java.vm.version') + '(' + System.getProperty('java.vendor') + ') Arch: ' + System.getProperty('os.arch'))
dependencies {
compile 'org.apache.httpcomponents:httpmime:4.3.3'
minecraft 'net.minecraftforge:forge:1.15.2-31.2.50'
}
minecraft {
runs {
client {
mods {
circuitry.source sourceSets.main
}
workingDirectory project.file('run')
}
server {
mods {
circuitry.source sourceSets.main
}
workingDirectory project.file('run')
}
}
mappings channel: 'snapshot', version: '20200514-1.15.1'
}
reobf {
shadowJar {}
}
shadowJar {
dependencies {
include(dependency(':httpmime'))
}
classifier = ''
manifest.attributes 'Implementation-Version': "${version}"
minimize()
relocate 'org.apache.http.entity.mime', project.group + '.org.apache.http.entity.mime'
}