temporal fix of tasks cyclic error
This commit is contained in:
parent
5e15435c11
commit
f3f670abd7
@ -12,3 +12,7 @@ repositories {
|
||||
mavenCentral()
|
||||
maven { url "https://kotlin.bintray.com/kotlinx" }
|
||||
}
|
||||
|
||||
subprojects.each {
|
||||
println(it)
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ repositories {
|
||||
maven { url "https://kotlin.bintray.com/kotlinx" }
|
||||
}
|
||||
|
||||
project.kotlin {
|
||||
kotlin {
|
||||
jvm()
|
||||
js()
|
||||
|
||||
@ -41,7 +41,7 @@ project.kotlin {
|
||||
if ((project.hasProperty('RELEASE_MODE') && project.property('RELEASE_MODE') == "true") || System.getenv('RELEASE_MODE') == "true") {
|
||||
api "com.insanusmokrassar:postssystem.utils.repos:$core_version"
|
||||
} else {
|
||||
api project(":utils:repos:common")
|
||||
api project(":utils:repos:utils.repos.common")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -37,8 +37,8 @@ dependencies {
|
||||
api "com.insanusmokrassar:postssystem.core.api:$core_version"
|
||||
api "com.insanusmokrassar:postssystem.exposed.commons:$core_version"
|
||||
} else {
|
||||
api project(":core:api")
|
||||
api project(":exposed:commons")
|
||||
api project(":core:core.api")
|
||||
api project(":exposed:exposed.commons")
|
||||
}
|
||||
|
||||
testImplementation "org.xerial:sqlite-jdbc:$test_sqlite_version"
|
||||
|
@ -42,8 +42,8 @@ kotlin {
|
||||
api "com.insanusmokrassar:postssystem.core.ktor.common:$core_version"
|
||||
api "com.insanusmokrassar:postssystem.ktor.client:$core_version"
|
||||
} else {
|
||||
api project(":core:ktor:common")
|
||||
api project(":ktor:client")
|
||||
api project(":core:ktor:core.ktor.common")
|
||||
api project(":ktor:ktor.client")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -42,8 +42,8 @@ kotlin {
|
||||
api "com.insanusmokrassar:postssystem.ktor.common:$core_version"
|
||||
api "com.insanusmokrassar:postssystem.core.api:$core_version"
|
||||
} else {
|
||||
api project(":ktor:common")
|
||||
api project(":core:api")
|
||||
api project(":ktor:ktor.common")
|
||||
api project(":core:core.api")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ dependencies {
|
||||
if ((project.hasProperty('RELEASE_MODE') && project.property('RELEASE_MODE') == "true") || System.getenv('RELEASE_MODE') == "true") {
|
||||
api "com.insanusmokrassar:postssystem.utils.repos:$core_version"
|
||||
} else {
|
||||
api project(":utils:repos:common")
|
||||
api project(":utils:repos:utils.repos.common")
|
||||
}
|
||||
|
||||
testImplementation "org.jetbrains.kotlin:kotlin-test"
|
||||
|
@ -41,7 +41,7 @@ kotlin {
|
||||
if ((project.hasProperty('RELEASE_MODE') && project.property('RELEASE_MODE') == "true") || System.getenv('RELEASE_MODE') == "true") {
|
||||
api "com.insanusmokrassar:postssystem.ktor.common:$core_version"
|
||||
} else {
|
||||
api project(":ktor:common")
|
||||
api project(":ktor:ktor.common")
|
||||
}
|
||||
|
||||
api "io.ktor:ktor-client-core:$ktor_version"
|
||||
|
@ -43,7 +43,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 project(":core:api")
|
||||
api project(":core:core.api")
|
||||
}
|
||||
|
||||
api "com.soywiz.korlibs.klock:klock:$klockVersion"
|
||||
|
@ -41,7 +41,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 project(":core:api")
|
||||
api project(":core:core.api")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -37,8 +37,8 @@ dependencies {
|
||||
api "com.insanusmokrassar:postssystem.core.publishing:$core_version"
|
||||
api "com.insanusmokrassar:postssystem.exposed.commons:$core_version"
|
||||
} else {
|
||||
api project(":publishing:api")
|
||||
api project(":exposed:commons")
|
||||
api project(":publishing:publishing.api")
|
||||
api project(":exposed:exposed.commons")
|
||||
}
|
||||
|
||||
testImplementation "org.xerial:sqlite-jdbc:$test_sqlite_version"
|
||||
|
@ -1,20 +1,37 @@
|
||||
rootProject.name='postssystem'
|
||||
|
||||
include ':utils:repos:common'
|
||||
include ':utils:repos:exposed'
|
||||
String[] includes = [
|
||||
':utils',
|
||||
':utils:repos',
|
||||
':utils:repos:common',
|
||||
':utils:repos:exposed',
|
||||
|
||||
include ':exposed:commons'
|
||||
':exposed',
|
||||
':exposed:commons',
|
||||
|
||||
include ':ktor:common'
|
||||
include ':ktor:client'
|
||||
':ktor',
|
||||
':ktor:common',
|
||||
':ktor:client',
|
||||
|
||||
include ':core:api'
|
||||
include ':core:exposed'
|
||||
include ':core:ktor:common'
|
||||
include ':core:ktor:client'
|
||||
':core',
|
||||
':core:api',
|
||||
':core:exposed',
|
||||
':core:ktor',
|
||||
':core:ktor:common',
|
||||
':core:ktor:client',
|
||||
|
||||
include ':publishing:api'
|
||||
include ':publishing:exposed'
|
||||
':publishing',
|
||||
':publishing:api',
|
||||
':publishing:exposed',
|
||||
|
||||
include ':markups'
|
||||
include ':markups:html'
|
||||
':markups',
|
||||
':markups:html'
|
||||
]
|
||||
|
||||
|
||||
includes.each {
|
||||
include it
|
||||
ProjectDescriptor project = project(it)
|
||||
println(project.projectDir.absolutePath.replace(rootDir.absolutePath, ""))
|
||||
project.name = project.projectDir.absolutePath.replace(rootDir.absolutePath, "").replace("/", ".").replaceFirst("\\.", "")
|
||||
}
|
||||
|
@ -37,8 +37,8 @@ dependencies {
|
||||
api "com.insanusmokrassar:postssystem.utils.repos:$core_version"
|
||||
api "com.insanusmokrassar:postssystem.exposed.commons:$core_version"
|
||||
} else {
|
||||
api project(":utils:repos:common")
|
||||
api project(":exposed:commons")
|
||||
api project(":utils:repos:utils.repos.common")
|
||||
api project(":exposed:exposed.commons")
|
||||
}
|
||||
|
||||
testImplementation "org.xerial:sqlite-jdbc:$test_sqlite_version"
|
||||
|
Loading…
Reference in New Issue
Block a user