add post creating business case
This commit is contained in:
@@ -44,7 +44,7 @@ kotlin {
|
||||
if ((project.hasProperty('RELEASE_MODE') && project.property('RELEASE_MODE') == "true") || System.getenv('RELEASE_MODE') == "true") {
|
||||
api "com.insanusmokrassar:postssystem.core.api:$core_version"
|
||||
} else {
|
||||
api projectByName("postssystem.core.api")
|
||||
api projectByName("core.api")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -0,0 +1,5 @@
|
||||
package com.insanusmokrassar.postssystem.core.publishing
|
||||
|
||||
import com.insanusmokrassar.postssystem.core.post.PostId
|
||||
|
||||
typealias PostKeyGenerator = suspend (PostId, TriggerId) -> TriggerControlKey
|
@@ -37,8 +37,8 @@ dependencies {
|
||||
api "com.insanusmokrassar:postssystem.core.publishing:$core_version"
|
||||
api "com.insanusmokrassar:postssystem.exposed.commons:$core_version"
|
||||
} else {
|
||||
api projectByName("postssystem.publishing.api")
|
||||
api projectByName("postssystem.exposed.commons")
|
||||
api projectByName("publishing.api")
|
||||
api projectByName("exposed.commons")
|
||||
}
|
||||
|
||||
testImplementation "org.xerial:sqlite-jdbc:$test_sqlite_version"
|
||||
|
@@ -45,8 +45,8 @@ kotlin {
|
||||
api "com.insanusmokrassar:postssystem.core.ktor.common:$core_version"
|
||||
api "com.insanusmokrassar:postssystem.ktor.client:$core_version"
|
||||
} else {
|
||||
api projectByName("postssystem.publishing.ktor.common")
|
||||
api projectByName("postssystem.ktor.client")
|
||||
api projectByName("publishing.ktor.common")
|
||||
api projectByName("ktor.client")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -43,8 +43,8 @@ kotlin {
|
||||
api "com.insanusmokrassar:postssystem.ktor.common:$core_version"
|
||||
api "com.insanusmokrassar:postssystem.publishing.api:$core_version"
|
||||
} else {
|
||||
api projectByName("postssystem.ktor.common")
|
||||
api projectByName("postssystem.publishing.api")
|
||||
api projectByName("ktor.common")
|
||||
api projectByName("publishing.api")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -32,8 +32,8 @@ repositories {
|
||||
dependencies {
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
|
||||
api projectByName("postssystem.publishing.ktor.common")
|
||||
api projectByName("postssystem.ktor.server")
|
||||
api projectByName("publishing.ktor.common")
|
||||
api projectByName("ktor.server")
|
||||
|
||||
testImplementation "org.xerial:sqlite-jdbc:$test_sqlite_version"
|
||||
testImplementation "org.jetbrains.kotlin:kotlin-test"
|
||||
|
Reference in New Issue
Block a user