(minor fix) Remove extra underscore from module names

This commit is contained in:
Sergey Igushkin
2018-05-11 15:37:17 +03:00
parent d56ba1e7a4
commit 284b5b9860
@@ -164,7 +164,7 @@ abstract class AbstractKotlinCompile<T : CommonCompilerArguments>() : AbstractKo
val baseName = project.convention.findPlugin(BasePluginConvention::class.java)?.archivesBaseName
?: project.name
val suffix = if (sourceSetName == "main") "" else "_$sourceSetName"
return filterModuleName("${baseName}_$suffix")
return filterModuleName("${baseName}$suffix")
}
@Suppress("UNCHECKED_CAST")