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

build.gradle and build.gradle.old issues #684

Open
Tracked by #1172
HosseinYousefi opened this issue Feb 3, 2023 · 3 comments
Open
Tracked by #1172

build.gradle and build.gradle.old issues #684

HosseinYousefi opened this issue Feb 3, 2023 · 3 comments
Assignees
Labels
contributions-welcome Contributions welcome to help resolve this (the resolution is expected to be clear from the issue) package:jni package:jnigen type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@HosseinYousefi
Copy link
Member

We're currently changing build.gradle to build.gradle.old and changing the original to have an extra method. Sometimes, after running the script, the gradle file does not go back to its original version.

@mahesh-hegde mahesh-hegde added the type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) label Mar 23, 2023
@mahesh-hegde
Copy link
Contributor

  1. Can an atExit hook and / or interrupt handler be added to handle any build.gradle.old? Is that possible in Dart?

@HosseinYousefi
Copy link
Member Author

The reason I have this issue open is to find an entirely different way to deal with gradle instead of changing build.gradle in place.

@mahesh-hegde
Copy link
Contributor

The reason I have this issue open is to find an entirely different way to deal with gradle instead of changing build.gradle in place.

This might be possible if we can write gradle plugins which

  • Don't have to be declared in gradle.build files, but rather supplied at execution time.

  • Can hook into lifecycle stages.

This will be generally useful, because I have another patch which can get source JARs for all gradle dependencies which uses same stub mechanism.

Maybe someone at Flutter team good with gradle can give some pointers. If such extension points exist, whether in groovy itself or in Java.

@mahesh-hegde mahesh-hegde added the contributions-welcome Contributions welcome to help resolve this (the resolution is expected to be clear from the issue) label Apr 3, 2023
@HosseinYousefi HosseinYousefi transferred this issue from dart-archive/jnigen Nov 17, 2023
@HosseinYousefi HosseinYousefi moved this to Backlog in JNIgen tracker Apr 11, 2024
@HosseinYousefi HosseinYousefi added this to the JNI / JNIgen 0.11.0 milestone May 22, 2024
@HosseinYousefi HosseinYousefi self-assigned this May 22, 2024
@HosseinYousefi HosseinYousefi moved this from Backlog to Todo in JNIgen tracker May 22, 2024
@HosseinYousefi HosseinYousefi moved this from Todo to In Progress in JNIgen tracker Jul 24, 2024
@HosseinYousefi HosseinYousefi removed this from the JNI / JNIgen 0.12.0 milestone Oct 1, 2024
@HosseinYousefi HosseinYousefi moved this from In Progress to Backlog in JNIgen tracker Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributions-welcome Contributions welcome to help resolve this (the resolution is expected to be clear from the issue) package:jni package:jnigen type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
Status: Backlog
Development

No branches or pull requests

2 participants