Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite Gradle plugin connectTargets #14

Open
natario1 opened this issue Sep 7, 2024 · 0 comments
Open

Rewrite Gradle plugin connectTargets #14

natario1 opened this issue Sep 7, 2024 · 0 comments

Comments

@natario1
Copy link
Member

natario1 commented Sep 7, 2024

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

   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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant