Search Gradle plugins

no.nordicsemi.android.plugin.library.compose

Library plugin extension with Compose and Material3 dependencies. This plugin extends 'library' plugin.

https://www.nordicsemi.com/

Sources: https://github.com/NordicSemiconductor/Android-Gradle-Plugins

Version 2.5

Created 21 October 2024.

Library plugin extension with Compose and Material3 dependencies. This plugin extends 'library' plugin.

Add this plugin to your build using the plugins DSL:

plugins {
  id("no.nordicsemi.android.plugin.library.compose") version "2.5"
}

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("no.nordicsemi.android.plugin.library.compose:no.nordicsemi.android.plugin.library.compose.gradle.plugin:2.5")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("no.nordicsemi.android.plugin.library.compose")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("no.nordicsemi.android.plugin.library.compose:no.nordicsemi.android.plugin.library.compose.gradle.plugin:2.5")
      }
    }
    
    apply(plugin = "no.nordicsemi.android.plugin.library.compose")
  • Applying plugins to all subprojects .