diff --git a/bot/build.gradle b/bot/build.gradle index 0cfd5d3..225a697 100644 --- a/bot/build.gradle +++ b/bot/build.gradle @@ -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 { diff --git a/settings.gradle b/settings.gradle index 69cf6d4..ab5d8e7 100644 --- a/settings.gradle +++ b/settings.gradle @@ -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(":", ".")}" +}