Skip to content

Commit

Permalink
Refactored the project structure and ported changes to 1.18 & 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksilassila committed Dec 6, 2022
1 parent 93e8cc6 commit 683fef3
Show file tree
Hide file tree
Showing 162 changed files with 2,112 additions and 1,238 deletions.
12 changes: 6 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ val archives_base_name: String by project
val mod_version: String by project

val buildAll = tasks.create("buildAll") {
dependsOn(":implementation:v1_17:build")
dependsOn(":implementation:v1_18:build")
dependsOn(":implementation:v1_19:build")
dependsOn(":v1_17:build")
dependsOn(":v1_18:build")
dependsOn(":v1_19:build")
doLast {
println("Copying files...")
file("implementation/v1_19/build/libs/v1_19.jar").copyTo(file("build/${archives_base_name}-1.19-${mod_version}.jar"), true)
file("implementation/v1_18/build/libs/v1_18.jar").copyTo(file("build/${archives_base_name}-1.18-${mod_version}.jar"), true)
file("implementation/v1_17/build/libs/v1_17.jar").copyTo(file("build/${archives_base_name}-1.17-${mod_version}.jar"), true)
file("v1_19/build/libs/v1_19.jar").copyTo(file("build/${archives_base_name}-1.19-${mod_version}.jar"), true)
file("v1_18/build/libs/v1_18.jar").copyTo(file("build/${archives_base_name}-1.18-${mod_version}.jar"), true)
file("v1_17/build/libs/v1_17.jar").copyTo(file("build/${archives_base_name}-1.17-${mod_version}.jar"), true)
}
}
7 changes: 0 additions & 7 deletions implementation/build.gradle

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 683fef3

Please sign in to comment.