Skip to content

Commit

Permalink
Merge pull request #7 from spine-examples/delete-unused-sessions-repo…
Browse files Browse the repository at this point in the history
…sitory

Delete useless `UserSessionRepository`
  • Loading branch information
MykytaPimonovTD authored May 21, 2024
2 parents a7bac26 + becc1fc commit 7121c68
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 54 deletions.
11 changes: 11 additions & 0 deletions mentions/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,17 @@ kotlin {
explicitApi()
}

/**
* Kotlin code compilation task waits until
* Protobuf files are fully generated and rejections are created.
*/
// TODO:2024-05-20:mykyta.pimonov: Rewrite the way of organizing tasks,
// using task inputs and outputs.
// See: https://github.com/spine-examples/Pingh/pull/7#discussion_r1607043747.
tasks.named("compileKotlin") {
dependsOn("generateRejections")
}

dependencies {
implementation(project(":github"))
implementation(project(":sessions"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ public const val NAME: String = "Sessions"
*/
public fun newBuilder(): BoundedContextBuilder =
BoundedContext.singleTenant(NAME)
.add(UserSessionRepository())
.add(UserSessionProcess::class.java)

This file was deleted.

0 comments on commit 7121c68

Please sign in to comment.