Search Gradle plugins

com.github.dhosseiny.themeswitcher.plugin

Theme Switcher Gradle Plugin - Generates kotlin files from xml color files to use in databinding and code expressions

https://github.com/DHosseiny/ThemeSwitcher

Version 0.1 (latest)

Created 26 May 2020.

Theme Switcher Gradle Plugin - Generates kotlin files from xml color files to use in databinding and code expressions

Using the plugins DSL:

plugins {
  id "com.github.dhosseiny.themeswitcher.plugin" version "0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.dhosseiny.themeswitcher:plugin:0.1"
  }
}

apply plugin: "com.github.dhosseiny.themeswitcher.plugin"

Using the plugins DSL:

plugins {
  id("com.github.dhosseiny.themeswitcher.plugin") version "0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.dhosseiny.themeswitcher:plugin:0.1")
  }
}

apply(plugin = "com.github.dhosseiny.themeswitcher.plugin")

Learn how to apply plugins to subprojects