@@ -11,13 +11,19 @@ buildscript {
11
11
classpath ' org.parchmentmc:librarian:1.+'
12
12
}
13
13
}
14
+
15
+ plugins {
16
+ id ' java'
17
+ id ' com.github.johnrengelman.shadow' version ' 7.1.2'
18
+ }
19
+
14
20
apply plugin : ' net.minecraftforge.gradle'
15
21
// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
16
22
apply plugin : ' org.parchmentmc.librarian.forgegradle'
17
23
apply plugin : ' eclipse'
18
24
apply plugin : ' maven-publish'
19
25
20
- version = ' 1.18-1.0.0-alpha-1 '
26
+ version = ' 1.18.1 -1.0.0-alpha-10 '
21
27
group = ' me.gleep.oreganized' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
22
28
archivesBaseName = ' oreganized'
23
29
@@ -37,9 +43,11 @@ minecraft {
37
43
//
38
44
// Use non-default mappings at your own risk. They may not always work.
39
45
// Simply re-run your setup task after changing the mappings to update your workspace.
40
- // mappings channel: 'parchment', version: '2021.10.31-1.17.1'
41
- mappings channel : ' official' , version : ' 1.18'
46
+ //
47
+ // Official Mappings:
48
+ // mappings channel: 'official', version: '1.18'
42
49
50
+ mappings channel : ' parchment' , version : ' 2021.12.19-1.18.1'
43
51
44
52
accessTransformer = file(' src/main/resources/META-INF/accesstransformer.cfg' ) // Currently, this location cannot be changed from the default.
45
53
@@ -136,13 +144,13 @@ dependencies {
136
144
// Specify the version of Minecraft to use. If this is any group other than 'net.minecraft', it is assumed
137
145
// that the dep is a ForgeGradle 'patcher' dependency, and its patches will be applied.
138
146
// The userdev artifact is a special name and will get all sorts of transformations applied to it.
139
- minecraft ' net.minecraftforge:forge:1.18-38 .0.17 '
147
+ minecraft ' net.minecraftforge:forge:1.18.1-39 .0.64 '
140
148
141
149
// Real mod deobf dependency examples - these get remapped to your current mappings
142
150
// compileOnly fg.deobf("mezz.jei:jei-${mc_version}:${jei_version}:api") // Adds JEI API as a compile dependency
143
151
// runtimeOnly fg.deobf("mezz.jei:jei-${mc_version}:${jei_version}") // Adds the full JEI mod as a runtime dependency
144
152
// implementation fg.deobf("com.tterrag.registrate:Registrate:MC${mc_version}-${registrate_version}") // Adds registrate as a dependency
145
- implementation fg. deobf(" com.zkryle:coopperativelib-1.18:1.0 " )
153
+ implementation fg. deobf(" com.zkryle:coopperativelib-1.18:1.1 " )
146
154
// Examples using mod jars from ./libs
147
155
// implementation fg.deobf("blank:coolmod-${mc_version}:${coolmod_version}")
148
156
@@ -151,6 +159,13 @@ dependencies {
151
159
// http://www.gradle.org/docs/current/userguide/dependency_management.html
152
160
}
153
161
162
+ // Example for how to get properties into the manifest for reading at runtime.
163
+
164
+ // Example configuration to allow publishing using the maven-publish plugin
165
+ // This is the preferred method to reobfuscate your jar file
166
+ jar. finalizedBy(' reobfJar' )
167
+
168
+
154
169
// Example for how to get properties into the manifest for reading at runtime.
155
170
jar {
156
171
manifest {
0 commit comments