Search Gradle plugins

io.github.rf19l.ktxml

Gradle plugin to convert Android XML resources into Kotlin objects using Jetpack Compose. Handles dimensions, colors, and styles.

https://github.com/rf19l/ktxmlconverter

Sources: https://github.com/rf19l/ktxmlconverter.git

Version 1.0.0 (latest)

Created 25 July 2023.

Gradle plugin to convert Android XML resources into Kotlin objects using Jetpack Compose. Handles dimensions, colors, and styles.

Using the plugins DSL:

plugins {
  id("io.github.rf19l.ktxml") version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.rf19l.ktxml:KtXMLConverter:1.0.0")
  }
}

apply(plugin = "io.github.rf19l.ktxml")

Using the plugins DSL:

plugins {
  id "io.github.rf19l.ktxml" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.rf19l.ktxml:KtXMLConverter:1.0.0"
  }
}

apply plugin: "io.github.rf19l.ktxml"

Learn how to apply plugins to subprojects