-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
138 lines (130 loc) · 5.13 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
plugins {
id 'net.neoforged.moddev' version '1.0.20'
}
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://minecraftschurli.ddns.net/repository/maven-public' }
maven { url 'https://maven.blamejared.com/' }
maven { url 'https://cursemaven.com' }
}
sourceSets.main.resources {
srcDir 'src/generated/resources'
}
dependencies {
compileOnly "com.github.minecraftschurlimods:bibliocraft:${mc_version}-${bc_version}:api"
runtimeOnly "com.github.minecraftschurlimods:bibliocraft:${mc_version}-${bc_version}"
compileOnly "mezz.jei:jei-${mc_version}-neoforge-api:${jei_version}"
runtimeOnly "mezz.jei:jei-${mc_version}-neoforge:${jei_version}"
// Aether
implementation "curse.maven:aether-255308:6040708"
implementation "curse.maven:owo-lib-532610:5945693"
// Allthemodium
implementation "curse.maven:allthemodium-364466:6047702"
// Ars Nouveau
implementation "curse.maven:ars-nouveau-401955:5995085"
implementation "curse.maven:curios-continuation-1037991:5888964"
implementation "curse.maven:geckolib-388172:6027599"
// Biomes O' Plenty
implementation "curse.maven:biomes-o-plenty-220318:5855568"
implementation "curse.maven:glitchcore-955399:5660740"
implementation "curse.maven:terrablender-neoforge-940057:6054947"
// Biomes We've Gone
implementation "curse.maven:oh-the-biomes-weve-gone-1070751:6029134"
implementation "curse.maven:corgilib-693313:6002859"
implementation "curse.maven:oh-the-trees-youll-grow-962544:6026954"
// Deeper and Darker
implementation "curse.maven:deeperdarker-659011:5908863"
// Forbidden Arcanus
implementation "curse.maven:forbidden-arcanus-309858:5966516"
implementation "curse.maven:valhelsia-core-416935:5847440"
// GregTech
implementation "curse.maven:gregtechceu-modern-890405:5812613"
// Integrated Dynamics
implementation "curse.maven:integrated-dynamics-236307:6059588"
implementation "curse.maven:common-capabilities-247007:6059616"
implementation "curse.maven:cyclops-core-232758:6059640"
// Occultism
implementation "curse.maven:occultism-361026:6059439"
implementation "curse.maven:modonomicon-538392:6039210"
implementation "curse.maven:smartbrainlib-661293:6035663"
// Regions Unexplored
implementation "curse.maven:regions-unexplored-659110:5579932"
// Silent Gear
implementation "curse.maven:silent-gear-297039:6008785"
implementation "curse.maven:silent-lib-242998:6040692"
// Twilight Forest
implementation "curse.maven:the-twilight-forest-227639:5983260"
// Undergarden
implementation "curse.maven:the-undergarden-379849:5769852"
}
neoForge {
version = project.neo_version
mods {
"${mod_id}" {
sourceSet sourceSets.main
}
}
runs {
configureEach {
systemProperty 'forge.logging.console.level', 'debug'
}
client {
client()
}
data {
data()
mods = [neoForge.mods."${mod_id}"]
programArguments.addAll '--mod', "${mod_id}", '--all',
'--output', file('src/generated/resources/').getAbsolutePath(),
'--existing', file('src/main/resources/').getAbsolutePath(),
'--existing-mod', 'bibliocraft',
'--existing-mod', 'aether',
'--existing-mod', 'allthemodium',
'--existing-mod', 'ars_nouveau',
'--existing-mod', 'biomesoplenty',
'--existing-mod', 'biomeswevegone',
'--existing-mod', 'deeperdarker',
'--existing-mod', 'forbidden_arcanus',
'--existing-mod', 'gtceu',
'--existing-mod', 'integrateddynamics',
'--existing-mod', 'occultism',
'--existing-mod', 'regions_unexplored',
'--existing-mod', 'silentgear',
'--existing-mod', 'twilightforest',
'--existing-mod', 'undergarden'
}
server {
server()
programArgument '--nogui'
}
}
}
tasks.named('processResources', ProcessResources) {
var replaceProperties = [
mc_version : mc_version,
mc_version_range : mc_version_range,
neo_version : neo_version,
neo_version_range: neo_version_range,
bc_version : bc_version,
bc_version_range : bc_version_range,
loader_version : loader_version,
mod_id : mod_id,
mod_version : mod_version,
mod_name : mod_name,
mod_authors : mod_authors,
mod_credits : mod_credits,
mod_logo : mod_logo,
mod_description : mod_description,
mod_license : mod_license,
]
inputs.properties replaceProperties
filesMatching('META-INF/neoforge.mods.toml') {
expand replaceProperties
}
}
jar {
archiveBaseName = mod_id
archiveVersion = "${mc_version}-${mod_version}"
processResources.exclude('**/.cache/**')
}