Compare commits

..

2 Commits

Author SHA1 Message Date
semantic-release-bot
c664a6eaed chore(release): 1.5.1-dev.2 [skip ci]
## [1.5.1-dev.2](https://github.com/ReVanced/revanced-library/compare/v1.5.1-dev.1...v1.5.1-dev.2) (2024-02-08)

### Bug Fixes

* Use the JVM name instead of the value from `KClass#toString` ([d18e436](d18e436de1))
2024-02-08 02:51:47 +00:00
oSumAtrIX
d18e436de1 fix: Use the JVM name instead of the value from KClass#toString 2024-02-08 03:50:15 +01:00
3 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
## [1.5.1-dev.2](https://github.com/ReVanced/revanced-library/compare/v1.5.1-dev.1...v1.5.1-dev.2) (2024-02-08)
### Bug Fixes
* Use the JVM name instead of the value from `KClass#toString` ([d18e436](https://github.com/ReVanced/revanced-library/commit/d18e436de1df14452ecaa7d827be5e6596ba8a2d))
## [1.5.1-dev.1](https://github.com/ReVanced/revanced-library/compare/v1.5.0...v1.5.1-dev.1) (2024-02-08) ## [1.5.1-dev.1](https://github.com/ReVanced/revanced-library/compare/v1.5.0...v1.5.1-dev.1) (2024-02-08)

View File

@@ -1,4 +1,4 @@
org.gradle.parallel = true org.gradle.parallel = true
org.gradle.caching = true org.gradle.caching = true
kotlin.code.style = official kotlin.code.style = official
version = 1.5.1-dev.1 version = 1.5.1-dev.2

View File

@@ -6,6 +6,7 @@ import app.revanced.patcher.patch.options.PatchOption
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import java.io.InputStream import java.io.InputStream
import java.io.OutputStream import java.io.OutputStream
import kotlin.reflect.jvm.jvmName
typealias PackageName = String typealias PackageName = String
typealias Version = String typealias Version = String
@@ -159,7 +160,7 @@ object PatchUtils {
patch.name, patch.name,
patch.description, patch.description,
patch.compatiblePackages, patch.compatiblePackages,
buildSet { patch.dependencies?.forEach { add(it.toString()) } }, buildSet { patch.dependencies?.forEach { add(it.jvmName) } },
patch.use, patch.use,
patch.requiresIntegrations, patch.requiresIntegrations,
patch.options.mapValues { FullJsonPatchOption.fromPatchOption(it.value) }, patch.options.mapValues { FullJsonPatchOption.fromPatchOption(it.value) },