Search Gradle plugins

dev.icerock.mobile.multiplatform.android-sources

After enable this plugin you can move android's main source set to androidMain, release to androidRelease, test to androidTest etc.

https://github.com/icerockdev/mobile-multiplatform-gradle-plugin

Sources: https://github.com/icerockdev/mobile-multiplatform-gradle-plugin

Version 0.14.4 (latest)

Created 29 September 2024.

After enable this plugin you can move android's main source set to androidMain, release to androidRelease, test to androidTest etc.

Add this plugin to your build using the plugins DSL:

plugins {
  id("dev.icerock.mobile.multiplatform.android-sources") version "0.14.4"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("dev.icerock.mobile.multiplatform.android-sources:dev.icerock.mobile.multiplatform.android-sources.gradle.plugin:0.14.4")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("dev.icerock.mobile.multiplatform.android-sources")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("dev.icerock.mobile.multiplatform.android-sources:dev.icerock.mobile.multiplatform.android-sources.gradle.plugin:0.14.4")
      }
    }
    
    apply(plugin = "dev.icerock.mobile.multiplatform.android-sources")
  • Applying plugins to all subprojects .