mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-12-22 16:47:15 +00:00
partially fix build
This commit is contained in:
parent
c73cb14615
commit
a739e874bf
@ -1,4 +1,7 @@
|
||||
buildscript {
|
||||
ext {
|
||||
kotlin_version = '1.4.10'
|
||||
}
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
|
@ -4,6 +4,7 @@ project.group = "$group"
|
||||
apply from: "$publishGradlePath"
|
||||
|
||||
kotlin {
|
||||
android {}
|
||||
|
||||
sourceSets {
|
||||
commonMain {
|
||||
|
@ -13,7 +13,7 @@ String[] includes = [
|
||||
":repos:ktor:client",
|
||||
":repos:ktor:common",
|
||||
":repos:ktor:server",
|
||||
":repos:android:db",
|
||||
// ":repos:android:db",
|
||||
":ktor:server",
|
||||
":ktor:common",
|
||||
":ktor:client",
|
||||
@ -23,8 +23,12 @@ String[] includes = [
|
||||
]
|
||||
|
||||
|
||||
includes.each {
|
||||
include it
|
||||
ProjectDescriptor project = project(it)
|
||||
project.name = rootProject.name + project.projectDir.absolutePath.replace("${rootDir.absolutePath}", "").replace(File.separator, ".")
|
||||
includes.each { originalName ->
|
||||
String projectDirectory = "${rootProject.projectDir.getAbsolutePath()}${originalName.replaceAll(":", File.separator)}"
|
||||
String projectName = "${rootProject.name}${originalName.replaceAll(":", ".")}"
|
||||
String projectIdentifier = ":${projectName}"
|
||||
include projectIdentifier
|
||||
ProjectDescriptor project = project(projectIdentifier)
|
||||
project.name = projectName
|
||||
project.projectDir = new File(projectDirectory)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user