Search Gradle plugins

com.huanshankeji.compose-web-material-conventions

This plugin adds the needed Maven dependencies and npm devDependencies (mainly for Webpack) for a Compose for Web project with Material components.

https://github.com/huanshankeji/compose-web-material

Sources: https://github.com/huanshankeji/compose-web-material.git

Version 0.2.2 (latest)

Created 16 March 2024.

This plugin adds the needed Maven dependencies and npm devDependencies (mainly for Webpack) for a Compose for Web project with Material components.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.huanshankeji.compose-web-material-conventions") version "0.2.2"
}

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