mirror of
https://github.com/fankes/unmeta-gradle-plugin.git
synced 2025-09-04 10:05:15 +08:00
Update README.md to use shorten classpath
This commit is contained in:
13
README.md
13
README.md
@@ -45,13 +45,23 @@ plugins {
|
|||||||
// Project build.gradle.kts
|
// Project build.gradle.kts
|
||||||
buildscript {
|
buildscript {
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("com.axzae.unmeta:com.axzae.unmeta.gradle.plugin:1.0.0")
|
classpath("com.axzae:unmeta:1.0.0")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Module(app) build.gradle.kts
|
||||||
|
plugins {
|
||||||
|
id("com.android.application")
|
||||||
|
// ...
|
||||||
|
id("com.axzae.unmeta")
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
Unmeta task is bound to all release builds by default hence configuration is optional.
|
||||||
|
However, the lib does expose a few configurable properties:
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
unmeta {
|
unmeta {
|
||||||
isEnabled.set(true) // Default: true
|
isEnabled.set(true) // Default: true
|
||||||
@@ -86,7 +96,6 @@ Feel free to open a issue or submit a pull request for any bugs/improvements.
|
|||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
|
|
||||||
[1]: https://github.com/Kotlin/kotlinx.coroutines/issues/2267#issuecomment-698826645
|
[1]: https://github.com/Kotlin/kotlinx.coroutines/issues/2267#issuecomment-698826645
|
||||||
|
|
||||||
[debugmetadata]: https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/jvm/src/kotlin/coroutines/jvm/internal/DebugMetadata.kt
|
[debugmetadata]: https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/jvm/src/kotlin/coroutines/jvm/internal/DebugMetadata.kt
|
||||||
[pluginportal]: https://plugins.gradle.org/plugin/com.axzae.unmeta
|
[pluginportal]: https://plugins.gradle.org/plugin/com.axzae.unmeta
|
||||||
[actions]: https://github.com/axzae/unmeta-gradle-plugin/actions
|
[actions]: https://github.com/axzae/unmeta-gradle-plugin/actions
|
||||||
|
Reference in New Issue
Block a user