Database reorganize, protocol version bump, migrations
This commit is contained in:
@@ -11,6 +11,8 @@ val partialsDirectory = layout.buildDirectory.dir("generated/sources/partials")
|
||||
val versionDirectory = layout.buildDirectory.dir("generated/sources/version")
|
||||
val requestsDirectory = layout.projectDirectory.dir("src/commonMain/kotlin/com/jaytux/phoebench/common/")
|
||||
|
||||
version = rootProject.version as PhoebenchVersion
|
||||
|
||||
val generatePartials = tasks.register<Exec>("generatePartials") {
|
||||
group = "generation"
|
||||
description = "Generate Partial classes (requests with all-nullable fields)"
|
||||
@@ -37,7 +39,7 @@ val generateVersion = tasks.register<Task>("protocolVersion") {
|
||||
package com.jaytux.phoebench.common
|
||||
|
||||
object ProtocolVersion {
|
||||
const val VERSION="${rootProject.version}"
|
||||
const val VERSION="${version}"
|
||||
}
|
||||
""".trimIndent())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user