deepmedia / deepmedia/Knee

Rewrite Gradle plugin connectTargets

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
137
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Rewrite Gradle plugin's connectTargets implementation to use more modern approach:

```kotlin
val buildType = ...
val connectTargetsTask = ...
androidComponents {
onVariants(selector().withBuildType(buildType)) {
it.sources.jniLibs!!.addGeneratedSourceDirectory(connectTargetsTask) { it.outputDir }
}
}
```

Also make it usable as an utility without the plugin being applied.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.