Skip to content

Commit 16a8650

Browse files
committed
make some pbz json optional
1 parent 223f674 commit 16a8650

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
kotlin.code.style=official
22

33
group=io.rebble.libpebblecommon
4-
version=0.1.12
4+
version=0.1.13
55
org.gradle.jvmargs=-Xms128M -Xmx1G -XX:ReservedCodeCacheSize=200M
66
kotlin.native.binary.memoryModel=experimental
77
kotlin.mpp.androidSourceSetLayoutVersion=2

src/commonMain/kotlin/io/rebble/libpebblecommon/metadata/pbz/manifest/PbzFirmware.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ data class PbzFirmware(
1616
val hwRev: WatchHardwarePlatform,
1717
val size: Long,
1818
val crc: Long,
19-
val versionTag: String
19+
val versionTag: String? = null
2020
)

src/commonMain/kotlin/io/rebble/libpebblecommon/metadata/pbz/manifest/PbzManifest.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import kotlinx.serialization.Serializable
88
data class PbzManifest(
99
val manifestVersion: Int,
1010
val generatedAt: Long,
11-
val generatedBy: String,
12-
val debug: Debug,
11+
val generatedBy: String? = null,
12+
val debug: Debug? = null,
1313
val firmware: PbzFirmware,
14-
val resources: SystemResources?,
14+
val resources: SystemResources? = null,
1515
@SerialName("js_tooling")
16-
val jsTooling: JsTooling,
16+
val jsTooling: JsTooling? = null,
1717
val type: String
1818
)

0 commit comments

Comments
 (0)