Commit e8dfb71
committed
build(app): pass Kotlin classes compiled by AGP to the metadata generator
With built-in Kotlin, AGP writes the Kotlin classes to
intermediates/built_in_kotlinc/<buildType>/<compile task>/classes rather
than KGP's tmp/kotlin-classes/<buildType>. buildMetadata only scanned the
latter, so app and plugin Kotlin classes were missing from the metadata
and 31 Kotlin specs in the test app failed. Both locations are scanned,
so a project module still built by KGP keeps working.1 parent 4fd2e6e commit e8dfb71
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
833 | 833 | | |
834 | 834 | | |
835 | 835 | | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
836 | 841 | | |
837 | 842 | | |
838 | 843 | | |
| |||
848 | 853 | | |
849 | 854 | | |
850 | 855 | | |
| 856 | + | |
851 | 857 | | |
852 | 858 | | |
853 | 859 | | |
| |||
871 | 877 | | |
872 | 878 | | |
873 | 879 | | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
874 | 889 | | |
875 | 890 | | |
876 | 891 | | |
| |||
886 | 901 | | |
887 | 902 | | |
888 | 903 | | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
889 | 908 | | |
890 | 909 | | |
891 | 910 | | |
| |||
0 commit comments