Fixed builds failing without Android project

This commit is contained in:
Anuken 2021-02-06 08:43:15 -05:00
parent b90372a226
commit 7e4ffe6a7d

View File

@ -338,7 +338,10 @@ project(":core"){
afterEvaluate{
task mergedJavadoc(type: Javadoc){
def blacklist = [project(":android"), project(":ios"), project(":desktop"), project(":server"), project(":annotations")]
def blacklist = [project(":ios"), project(":desktop"), project(":server"), project(":annotations")]
if(findProject(":android") != null){
blacklist += project(":android")
}
source rootProject.subprojects.collect{ project ->
if(!blacklist.contains(project) && project.hasProperty("sourceSets")){