AGP: How do you get the compile task of a AndroidS...
# android
h
AGP: How do you get the compile task of a AndroidSourceDirectorySet? The source set names are
release
,
testRelease
, or
androidTestRelease
, but the kotlin tasks are called
compileReleaseKotlin
,
compileReleaseTestKotlin
,
compileReleaseAndroidTestKotlin
. Ideally, I don't need to get the tasks at all, and could pass my tasks to
srcDir
, but this isn't supported (yet): https://issuetracker.google.com/issues/283654239