File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -174,6 +174,16 @@ allprojects {
174174// PACKAGING MAIN JAR //
175175// //////////////////////
176176
177+ dependencies {
178+ subprojects.forEach {
179+ if (it.name == " jackfredlib-testmod" ) return @forEach
180+
181+ add(" api" , project(path = it.path))
182+ add(" clientImplementation" , project(path = it.path))
183+ add(" include" , project(path = it.path))
184+ }
185+ }
186+
177187subprojects {
178188 if (name == " jackfredlib-testmod" ) return @subprojects
179189
@@ -188,28 +198,6 @@ subprojects {
188198 }
189199}
190200
191- // bundle modules
192- tasks.named<Jar >(" jar" ) {
193- subprojects.forEach {
194- if (it.name == " jackfredlib-testmod" ) return @forEach
195- if (it.name == " jackfredlib-config" ) return @forEach
196-
197- dependsOn(it.tasks.named(" jar" ))
198- }
199-
200- duplicatesStrategy = DuplicatesStrategy .EXCLUDE
201-
202- doFirst {
203- subprojects.forEach { subproj ->
204- if (subproj.name == " jackfredlib-testmod" ) return @forEach
205- if (subproj.name == " jackfredlib-config" ) return @forEach
206-
207- val jarTask = subproj.tasks.named<Jar >(" jar" ).get()
208- from(zipTree(jarTask.archiveFile.get().asFile))
209- }
210- }
211- }
212-
213201// ///////////
214202// JAVADOC //
215203// ///////////
@@ -449,4 +437,4 @@ if (canPublish) {
449437tasks.register<UpdateDependenciesTask >(" updateModDependencies" ) {
450438 mcVersion.set(properties[" minecraft_version" ]!! .toString())
451439 loader.set(" fabric" )
452- }
440+ }
Original file line number Diff line number Diff line change @@ -35,6 +35,6 @@ github_repo=JackFredLib
3535mod_name =JackFredLib
3636
3737# Root Module
38- module_version =0.10.6
38+ module_version =0.10.6.1
3939module_name =JackFredLib
4040module_description =Common code and hooks for JackFred's mods.
You can’t perform that action at this time.
0 commit comments