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