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

Don't copy generator .jar files to build-tools/ #1789

Merged
merged 1 commit into from
Sep 26, 2023

Commits on Sep 25, 2023

  1. chore: Don't copy generator .jar files to build-tools/

    Gradle complains that when multiple tasks have the same output path, it
    cannot decide accurately whether they need to run or not. The
    copyJarToBuildTools task of all three generators (android-dts-generator,
    android-metadata-generator, and static-binding-generator) shared the same
    output path, so they were always getting run.
    
    Instead, we can leave the .jar files in the location where they are built,
    and reference them from there in tasks that subsequently require them.
    
    This fix was submitted separately to android-dts-generator, which is a git
    submodule, in NativeScript/android-dts-generator#77
    This commit pulls in a newer version of android-dts-generator which
    includes that fix.
    ptomato committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    0267034 View commit details
    Browse the repository at this point in the history