Skip to content

Commit

Permalink
fix: Remove dependencies from generated JSON file
Browse files Browse the repository at this point in the history
Dependencies have an internal use only.
  • Loading branch information
oSumAtrIX committed Oct 5, 2023
1 parent 5229ed3 commit 79bb3e1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/kotlin/app/revanced/meta/JsonGenerator.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ->
Expand All @@ -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>
Expand Down

0 comments on commit 79bb3e1

Please sign in to comment.