Simon Marquis
05/30/2023, 8:45 AM1.9.0-Beta-1.0.11
and Compose compiler 1.4.7-dev-k1.9.0-Beta-bb7dc8b44eb
), I had to manually register sourceSets for protobuf generated code otherwise Hilt would fail to compile the code because it could not find the generated classes on its classpath (logs). Could this be linked to KT-54468 ?
androidComponents.beforeVariants {
android.sourceSets.register(it.name) {
java.srcDir(buildDir.resolve("generated/source/proto/${it.name}/java"))
kotlin.srcDir(buildDir.resolve("generated/source/proto/${it.name}/kotlin"))
}
}
tapchicoma
05/30/2023, 10:46 AMtapchicoma
05/30/2023, 10:53 AMKaptGenerateStubs
tasks 🤔tapchicoma
06/01/2023, 2:50 PMtapchicoma
06/01/2023, 3:31 PMtapchicoma
07/04/2023, 1:55 PM