Search Gradle plugins

io.github.vivekgupta4git.mvvm-arch

Often implementing mvvm architecture in the android, there are always a boilerplate code. Such as Mapper for converting models from the network to the domain,creating data sources and data repositories etc. This plugin aims to reduce the boilerplate such codebase

https://vivekgupta4git.github.io/

Sources: https://github.com/vivekgupta4Git/GenerateArchitecture.git

Version 1.0.4 (latest)

Created 25 August 2024.

Often implementing mvvm architecture in the android, there are always a boilerplate code. Such as Mapper for converting models from the network to the domain,creating data sources and data repositories etc. This plugin aims to reduce the boilerplate of such codebase

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.vivekgupta4git.mvvm-arch") version "1.0.4"
}

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