Search Gradle plugins

com.thefuntasty.mvvm.android-templates

This will add option to create new MVVM Fragment an MVVM Activity. Multiple files required by MVVM framework will be automatically generated (see: https://github.com/thefuntasty/mvvm-android)

https://github.com/thefuntasty/mvvm-android

Version 3.0.0 (latest)

Created 09 January 2020.

This will add option to create new MVVM Fragment an MVVM Activity.
Multiple files required by MVVM framework will be automatically generated (see: https://github.com/thefuntasty/mvvm-android)

Using the plugins DSL:

plugins {
  id "com.thefuntasty.mvvm.android-templates" version "3.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.thefuntasty.mvvm:templates:3.0.0"
  }
}

apply plugin: "com.thefuntasty.mvvm.android-templates"

Using the plugins DSL:

plugins {
  id("com.thefuntasty.mvvm.android-templates") version "3.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.thefuntasty.mvvm:templates:3.0.0")
  }
}

apply(plugin = "com.thefuntasty.mvvm.android-templates")

Learn how to apply plugins to subprojects