Slackbot
03/01/2023, 12:26 PMDmitriy Voronin
03/01/2023, 1:19 PMno
03/01/2023, 1:58 PMDmitriy Voronin
03/01/2023, 1:58 PMno
03/01/2023, 1:59 PMDmitriy Voronin
03/01/2023, 1:59 PMDmitriy Voronin
03/01/2023, 1:59 PMno
03/01/2023, 2:00 PMDmitriy Voronin
03/01/2023, 2:01 PMDmitriy Voronin
03/01/2023, 2:03 PMno
03/01/2023, 2:04 PMInaki Villar
03/02/2023, 12:39 AMDmitriy Voronin
03/02/2023, 10:52 AMprivate fun applyCacheMissesWorkaround(project: Project) {
val schemasDir = project.layout.projectDirectory.dir("roomSchemas")
project.extensions.configure<RoomExtension>("room") {
it.schemaLocationDir.set(schemasDir)
}
project.plugins.whenAndroidPluginApplied {
project.testedExtension { tests ->
tests.sourceSets.getByName("test") { testsSourceSet ->
testsSourceSet.assets.srcDirs(schemasDir)
}
tests.testOptions.unitTests.isIncludeAndroidResources = true
}
}
}
• no eager calls, only default wiring by plugins (i probably need to doublecheck that)
•
room convention
project.kaptExtension {
it.arguments {
arg("room.incremental", "true")
}
}
kapt convention
project.kaptExtension {
it.useBuildCache = true
// By default, kapt replaces every unknown type (including types for the generated classes) to NonExistentClass
// that can lead to hard to diagnose errors
it.correctErrorTypes = true
// include the original locations in the Kotlin files into error reports
it.mapDiagnosticLocations = true
it.javacOptions {
// Increase the max count of errors from annotation processors.
// Helps when N-th (and the most important) cause is buried beneath tons of errors
// Default is 100.
option("-Xmaxerrs", 10000)
}
}
• i am trying to provide you with build scan dump, hope will do it today, problem with timeouts on downloadingInaki Villar
03/03/2023, 3:13 AMclean :core:database:test
2- Move to AS and sync the project
3- Execute in the IDE the test source for the same module:
Result: https://ge.solutions-team.gradle.com/s/buphjazzfdqcc/timeline?details=rokr3tcj3n4pk
again, I was not able to reproduce the issue following the same steps. I'll continue tomorrow with the investigationDmitriy Voronin
03/03/2023, 1:18 PMInaki Villar
04/19/2023, 6:53 PMInaki Villar
04/19/2023, 6:55 PMDmitriy Voronin
04/24/2023, 2:15 PM