public final class IjKotlinHelper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addKotlinJavaRuntimeLibraryDependencyIfNecessary(TargetNode<? extends JvmLibraryArg> target,
ModuleBuildContext context)
Add KotlinJavaRuntime library dependency to a module if necessary
|
static boolean |
isKotlinModule(JvmLibraryArg constructorArg)
Whether the target node associated with the constructorArg will produce a Kotlin module
|
static boolean |
requiresKapt(JvmLibraryArg constructorArg)
Whether the target node associated with the constructorArg requires kapt
|
public static boolean isKotlinModule(JvmLibraryArg constructorArg)
public static boolean requiresKapt(JvmLibraryArg constructorArg)
public static void addKotlinJavaRuntimeLibraryDependencyIfNecessary(TargetNode<? extends JvmLibraryArg> target, ModuleBuildContext context)