fix: Remove dependencies from generated JSON file

Dependencies have an internal use only.
This commit is contained in:
oSumAtrIX 2023-10-05 03:26:11 +02:00
parent 5229ed33f6
commit 79bb3e164f
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -11,7 +11,6 @@ internal class JsonGenerator : PatchesFileGenerator {
it.name!!,
it.description,
it.compatiblePackages,
it.dependencies?.map { dependency -> dependency::class.java.name }?.toSet(),
it.use,
it.requiresIntegrations,
it.options.values.map { option ->
@ -27,7 +26,6 @@ internal class JsonGenerator : PatchesFileGenerator {
val name: String? = null,
val description: String? = null,
val compatiblePackages: Set<Patch.CompatiblePackage>? = null,
val dependencies: Set<String>? = null,
val use: Boolean = true,
val requiresIntegrations: Boolean = false,
val options: List<Option>