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.14.1

Created 06 March 2022.

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects