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)

0.14.4

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.

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("dev.icerock:mobile-multiplatform:0.14.4")
  }
}

apply(plugin = "dev.icerock.mobile.multiplatform.android-sources")

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "dev.icerock:mobile-multiplatform:0.14.4"
  }
}

apply plugin: "dev.icerock.mobile.multiplatform.android-sources"

Learn how to apply plugins to subprojects