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

Remove custom change detection code from incremental Java compile #9052

Closed
wolfs opened this issue Feb 19, 2019 · 9 comments · Fixed by #16536
Closed

Remove custom change detection code from incremental Java compile #9052

wolfs opened this issue Feb 19, 2019 · 9 comments · Fixed by #16536
Milestone

Comments

@wolfs
Copy link
Member

wolfs commented Feb 19, 2019

With #8499, the custom alignment code for incremental Java compilation should not be necessary any more and the normal incremental information can be used.

Maybe we should dogfood after we also support better incremental task inputs.

@lptr lptr transferred this issue from another repository Apr 15, 2019
@wolfs
Copy link
Member Author

wolfs commented May 23, 2019

The Android Gradle Plugin currently extends JavaCompile with quite some logic which means that moving to InputChanges would be a breaking change for them.

@lptr
Copy link
Member

lptr commented May 24, 2019

FTR, it also has its own way to specify additional sources, so our workarounds for getSource() could be problematic, too.

@lptr
Copy link
Member

lptr commented May 24, 2019

@wolfs created an issue on the Android issue tracker: https://issuetracker.google.com/issues/133354240

@lptr
Copy link
Member

lptr commented Jun 20, 2019

\o/ https://issuetracker.google.com/issues/133354240#comment9:

This should be released in 3.6.0-alpha05.

Fixed with ag/I1a1a636546a07e38d5a220fdcb2b09b0c376bd2d.

@lptr
Copy link
Member

lptr commented Jun 20, 2019

I think this means we can break JavaCompile for extension in 6.0.

@wolfs
Copy link
Member Author

wolfs commented Jun 24, 2019

I we break JavaCompile in 6.0, then AGP 3.5 will not work anymore with Gradle 6.0. So no stable version of AGP would work with Gradle 6.0 when it comes out, right? I don't think we can do this...

@lptr
Copy link
Member

lptr commented Jun 24, 2019

6.0 GA is planned for end of August now. When is AGP 3.6 planned?

@wolfs
Copy link
Member Author

wolfs commented Jun 28, 2019

Using InputChanges in JavaCompile is now tracked as part of #9817 and is a requirement for removing the custom change detection code.

@lptr lptr added this to the 6.0 RC1 milestone Sep 4, 2019
@wolfs wolfs modified the milestones: 6.0 RC1, 6.1 RC1 Sep 13, 2019
@wolfs wolfs modified the milestones: 6.1 RC1, 6.1, 6.2 RC1 Dec 5, 2019
@wolfs wolfs modified the milestones: 6.2 RC1, 6.3 RC1 Jan 13, 2020
@wolfs wolfs modified the milestones: 6.3 RC1, 6.5 RC1 Feb 28, 2020
@wolfs wolfs modified the milestones: 6.5 RC1, 6.6 RC1 May 7, 2020
@wolfs wolfs removed this from the 6.6 RC1 milestone Jul 6, 2020
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

Successfully merging a pull request may close this issue.

3 participants