1 /* 2 * Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. 3 */ 4 5 // Currently the compilation of the module-info fails for 6 // kotlinx-coroutines-play-services because it depends on Android JAR's 7 // which do not have an explicit module-info descriptor. 8 // Because the JAR's are all named `classes.jar`, 9 // the automatic module name also becomes `classes`. 10 // This conflicts since there are multiple JAR's with identical names. 11 val invalidModules = listOf("kotlinx-coroutines-play-services") 12 <lambda>null13configure(subprojects.filter { 14 !unpublished.contains(it.name) && !invalidModules.contains(it.name) && it.extensions.findByName("kotlin") != null 15 }) { 16 Java9Modularity.configure(project) 17 } 18