update names of subprojects

This commit is contained in:
InsanusMokrassar 2020-11-12 12:40:57 +06:00
parent 8f104b3893
commit d39b56fd74
2 changed files with 7 additions and 2 deletions

View File

@ -24,7 +24,7 @@ dependencies {
kapt "com.github.matfax.klassindex:processor:$klassindex_version"
implementation "org.xerial:sqlite-jdbc:$sqlite_version"
implementation project(":plugin")
implementation project(":plagubot.plugin")
}
application {

View File

@ -1,3 +1,8 @@
include ":bot", ":plugin"
String[] toInclude = [":bot", ":plugin"]
rootProject.name = 'plagubot'
toInclude.each {
include (it)
project(it).name = "${rootProject.name}${it.replace(":", ".")}"
}