Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qhy040404/androidresoptplugin

A Gradle plugin to optimize res by aapt2.
https://github.com/qhy040404/androidresoptplugin

Last synced: about 1 month ago
JSON representation

A Gradle plugin to optimize res by aapt2.

Awesome Lists containing this project

README

        

# AndroidResOptPlugin

Optimize an Android app's resources using `aapt`.

---

## Installation

**Only available for Android projects**

Kotlin

> root `build.gradle.kts`

```kotlin
plugins {
id("com.qhy04.gradle.android.res_opt") version "1.0.0" apply false
}
```

> module `build.gradle.kts`

```kotlin
plugins {
id("com.qhy04.gradle.android.res_opt")
}
```

Groovy

> root `build.gradle`

```groovy
plugins {
id 'com.qhy04.gradle.android.res_opt' version "1.0.0" apply false
}
```

> module `build.gradle`

```groovy
plugins {
id 'com.qhy04.gradle.android.res_opt'
}
```