Package org.jetbrains.kotlin.gradle.dsl
Interface KotlinAndroidVariantHierarchyDsl
-
- All Implemented Interfaces:
public interface KotlinAndroidVariantHierarchyDsl
-
-
Method Summary
Modifier and Type Method Description abstract Property<KotlinTargetHierarchy.SourceSetTree>getSourceSetTree()Configures under which SourceSetTree the currently configured Android Variant shall be placed. -
-
Method Detail
-
getSourceSetTree
abstract Property<KotlinTargetHierarchy.SourceSetTree> getSourceSetTree()
Configures under which SourceSetTree the currently configured Android Variant shall be placed. e.g.
kotlin { targetHierarchy.android { instrumentedTest.sourceSetTree.set(SourceSetTree.test) } }Will ensure that all android instrumented tests (androidInstrumentedTest, androidInstrumentedTestDebug, ...) will be placed into the 'test' SourceSet tree (with 'commonTest' as root)
-
-
-
-