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

Version 0.12.0 (latest)

Created 04 August 2021.

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.12.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects