-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathbuild.gradle
More file actions
79 lines (64 loc) · 1.71 KB
/
build.gradle
File metadata and controls
79 lines (64 loc) · 1.71 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
buildscript {
repositories {
gradlePluginPortal()
}
dependencies {
classpath 'gradle.plugin.nl.elec332.gradle.minecraft:GradleModDev:0.2.2-Beta'
}
}
apply plugin: "nl.elec332.gradle.minecraft.moddev"
apply plugin: "nl.elec332.gradle.minecraft.modmaven"
group = "nl.elec332.core"
modSettings {
modName = "ElecCore"
modId = "eleccore"
basePackage = "elec332.core"
createDeobf = true
addWailaMaven = true
}
generateToml {
mods {
eleccore {
description = "Provides core functionality for Elec's Mods"
dependencies {
forestry {
mandatory = false
ordering = "AFTER"
versionRange = "(,1,)" //Accepts anything (hopefully)
}
}
}
eleccoreloader {
displayName = "ElecCoreLoader"
description = "Loads the main ElecCore components"
}
}
}
dependencies {
//WAILA
compileOnly "mcp.mobius.waila:Hwyla:${config.WAILA_version}:api"
modRuntime "mcp.mobius.waila:Hwyla:${config.WAILA_version}"
//JEI
compileOnly "mezz.jei:jei-${config.jei_version}:api"
modRuntime "mezz.jei:jei-${config.jei_version}"
compileOnly "mcjty.theoneprobe:TheOneProbe-${config.top_version}:api"
}
jar {
manifest {
attributes([
'Specification-Title': 'ElecCoreAPI',
'Specification-Version': '2.0'
] as LinkedHashMap, 'elec332.core.api')
}
}
modMaven {
githubUrl = "https://github.com/Elecs-Mods/ElecCore"
forceLicense = false
developer {
id "Elec332"
name "Elec332"
roles {
role "developer"
}
}
}