-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (41 loc) · 1.6 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
buildscript {
repositories {
maven { url = 'https://files.minecraftforge.net/maven' }
jcenter()
mavenCentral()
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true
}
}
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'idea'
final Project lib = project(':Lollipop')
version = lib.minecraft_version + '-' + mod_version
group = lib.mod_group
archivesBaseName = mod_name
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
minecraft {
mappings channel: lib.mappings_channel, version: lib.mappings_version
accessTransformer = file('../Lollipop/src/main/resources/META-INF/at.cfg')
}
repositories {
maven { url "http://dvs1.progwml6.com/files/maven" }
}
dependencies {
minecraft 'net.minecraftforge:forge:' + lib.minecraft_version + '-' + lib.forge_version
compileOnly fg.deobf("mezz.jei:jei-${lib.minecraft_version}:${lib.jei_version}:api")
runtimeOnly fg.deobf("mezz.jei:jei-${lib.minecraft_version}:${lib.jei_version}")
compile lib
}
jar {
manifest {
attributes(["Specification-Title" : mod_name,
"Specification-Vendor" : lib.mod_group,
"Specification-Version" : mod_version,
"Implementation-Title" : project.name,
"Implementation-Version" : mod_version,
"Implementation-Vendor" : lib.mod_group,
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")],)
}
}