Skip to content

Commit

Permalink
Bump dev bundle revision to 4
Browse files Browse the repository at this point in the history
It's important that 1.20.5 plugins include the mappings metadata in their manifests. For this reason we are bumping the dev bundle revision without any changes to the format.
  • Loading branch information
jpenilla committed Apr 26, 2024
1 parent 114dc61 commit e927958
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ abstract class GenerateDevBundle : DefaultTask() {
const val mojangMappedPaperclipFileName = "paperclip-$DEOBF_NAMESPACE.jar"

// Should be bumped when the dev bundle config/contents changes in a way which will require users to update paperweight
const val currentDataVersion = 3
const val currentDataVersion = 4

fun createCoordinatesFor(project: Project): String =
sequenceOf(project.group, project.name.lowercase(Locale.ENGLISH), "userdev-" + project.version).joinToString(":")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import kotlin.io.path.*

private val supported = mapOf(
2 to DevBundleV2.Config::class, // 1.17.1
3 to GenerateDevBundle.DevBundleConfig::class,
GenerateDevBundle.currentDataVersion to GenerateDevBundle.DevBundleConfig::class,
)

Expand Down

0 comments on commit e927958

Please sign in to comment.