-
Notifications
You must be signed in to change notification settings - Fork 24
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
JarJarFeature.enable
forces the jarJar task to be configured
#243
Comments
The whole |
Is disabling something we know is actually in use anywhere? Doing a GitHub code search doesn't show anything obvious, but that's definitely not an exhaustive check. That said, I do find myself a little confused by the current disabling logic — why is there a separate
One solution would be to have properties for the The configuration of artifacts would need to remain as-is for now. |
Disabling is a feature users of NG could use. That's the only reason it exists. And it's silly, there's really no use case for it |
For enabled vs disabled... Uh. Well. Basically enabled is what one would think, disabling is specifically undoing enabling, and there's a state where it's neither enabled nor disabled and that's "they're not using jarJar". As to why there's some argument wackiness -- that's fallout of me trying to shove stuff into that system in a somewhat workable fashion |
The
JarJarFeature
provides a method to disable inheriting classes from the main jar.However, as
enable()
usesfindByPath
(rather thannamed
), this means that it's very easily to accidentally cause thejarJar
task to be prematurely configured, and in turn causingdisableDefaultSources
to silently no-op.For instance, none of the following will work:
This can be worked around by moving
jarJar.disableDefautSources()
further up the build script. However, it would be nice if either:The text was updated successfully, but these errors were encountered: