as31: fixup: Kotlin Facet: Configure facet based on Android build variant (in AS)

This commit is contained in:
Nicolay Mitropolsky
2018-02-05 12:50:10 +03:00
committed by Nikolay Krasko
parent a300682f04
commit 0f6df38211
@@ -222,7 +222,8 @@ fun configureFacetByGradleModule(
with(kotlinFacet.configuration.settings) {
implementedModuleNames = getImplementedModuleNames(moduleNode, sourceSetName, ideModule.project)
testOutputPath = getExplicitTestOutputPath(moduleNode, platformKind)
productionOutputPath = getExplicitOutputPath(moduleNode, platformKind, "main")
testOutputPath = getExplicitOutputPath(moduleNode, platformKind, "test")
}
kotlinFacet.noVersionAutoAdvance()