Package 

Class AndroidPluginIntegration


  • 
    public final class AndroidPluginIntegration
    
                        

    This helper class handles communication with the android plugin. It is isolated in a separate class to avoid adding dependency on the android plugin. Instead, we add a compileOnly dependency to the Android Plugin, which means we can still function without the Android plugin. The downside is that we need to ensure never to access Android plugin APIs directly without checking its existence (we have tests covering that case).

    • Method Summary

      Modifier and Type Method Description
      final Unit applyIfAndroidProject(Project project)
      final Unit registerGeneratedJavaSources(Project project, KotlinJvmAndroidCompilation kotlinCompilation, TaskProvider<KspTaskJvm> kspTaskProvider, File javaOutputDir, File classOutputDir, FileCollection resourcesOutputDir)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait