How would I set up gradle to include resources generated by kapt in the processResources task? My attempt was
Copy code
tasks {
val kaptKotlin by named<Kapt>("kaptKotlin") {
}
val processResources by named<ProcessResources>("processResources") {
from(kaptKotlin.outputs)
}
}
But that gives
Task with name 'kaptKotlin' not found in project ':myproject'
, and I think this would also include any classes generated to resources