Search Gradle plugins

io.github.furutuki.android-svg-transcoder

Owner: HU Zhong

A gradle plugin that helps you transcode svg files to android source file(Java), with which you can compile and use the generated classes to render svg image in canvas

https://github.com/furutuki/AndroidSvgTranscoder

Sources: https://github.com/furutuki/AndroidSvgTranscoder.git

Version 0.1.1 (latest)

Created 03 January 2023.

A gradle plugin that helps you transcode svg files to android source file(Java), with which you can compile and use the generated classes to render svg image in canvas

Using the plugins DSL:

plugins {
  id("io.github.furutuki.android-svg-transcoder") version "0.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.furutuki:transcoder-plugin:0.1.1")
  }
}

apply(plugin = "io.github.furutuki.android-svg-transcoder")

Using the plugins DSL:

plugins {
  id "io.github.furutuki.android-svg-transcoder" version "0.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.furutuki:transcoder-plugin:0.1.1"
  }
}

apply plugin: "io.github.furutuki.android-svg-transcoder"

Learn how to apply plugins to subprojects