Skip to content

Commit

Permalink
Upgrade Gradle, remove inline classes in model event (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgribov committed Mar 22, 2024
1 parent 0f00851 commit df9daa1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/CI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import java.lang.Boolean.parseBoolean
object Ci {

private const val SNAPSHOT_BASE = "0.7.0"
private const val RELEASE_VERSION = "0.6.3"
private const val RELEASE_VERSION = "0.6.4"
private val githubSha = System.getenv("GITHUB_SHA") ?: "latest"

val publishRelease = System.getProperty("release", "true").let(::parseBoolean)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ data class IntegrationModelEvent(
val payload: JsonObject
) {

@JvmInline
value class EventId(private val id: UUID) {
data class EventId(private val id: UUID) {
override fun toString() = id.toString()

fun toUUID() = id
Expand All @@ -28,8 +27,7 @@ data class IntegrationModelEvent(
}
}

@JvmInline
value class UowId(private val id: UUID) {
data class UowId(private val id: UUID) {
override fun toString() = id.toString()

fun toUUID() = id
Expand All @@ -39,20 +37,17 @@ data class IntegrationModelEvent(
}
}

@JvmInline
value class ModelId(private val id: String) {
data class ModelId(private val id: String) {
fun stringValue() = id

override fun toString() = id
}

@JvmInline
value class EventName(private val name: String) {
data class EventName(private val name: String) {
override fun toString() = name
}

@JvmInline
value class ModelName(private val name: String) {
data class ModelName(private val name: String) {
override fun toString() = name
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit df9daa1

Please sign in to comment.