Here are some logs:
:app:kaptGenerateStubsKaufdaDebugKotlin
Caching disabled for task ':app:kaptGenerateStubsKaufdaDebugKotlin': Caching has not been enabled for the task
Putting task artifact state for task ':app:kaptGenerateStubsKaufdaDebugKotlin' into context took 0.002 secs.
Task :app:kaptGenerateStubsKaufdaDebugKotlin class loader hash: a838e713f4f3b6468d76718b109f2e8a
Task :app:kaptGenerateStubsKaufdaDebugKotlin actions class loader hashes: [750e1d72030581ace81f7325929812f4, a838e713f4f3b6468d76718b109f2e8a]
Cache key for task ':app:kaptGenerateStubsKaufdaDebugKotlin' is 76c7e3e6d60f64c2b81fa890c9d429f2
Executing task ':app:kaptGenerateStubsKaufdaDebugKotlin' (up-to-date check took 0.0 secs) due to:
The following lines basically say that the stubs should have been regenerated:
Task ':app:kaptGenerateStubsKaufdaDebugKotlin' class path has changed from 7d1b1118f451dc19a87f1c96b72ff8f4 to a838e713f4f3b6468d76718b109f2e8a.
All input files are considered out-of-date for incremental task ':app:kaptGenerateStubsKaufdaDebugKotlin'.
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/main/kotlin', not found
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/kaufda/kotlin', not found
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/debug/kotlin', not found
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/kaufdaDebug/kotlin', not found
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/main/kotlin', not found
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/kaufda/kotlin', not found
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/debug/kotlin', not found
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/kaufdaDebug/kotlin', not found
:app:kaptGenerateStubsKaufdaDebugKotlin (Thread[Daemon worker Thread 10,5,main]) completed. Took 12.875 secs.
Continuing:
:app:kaptKaufdaDebugKotlin (Thread[Daemon worker Thread 10,5,main]) started.
:app:kaptKaufdaDebugKotlin
Caching disabled for task ':app:kaptKaufdaDebugKotlin': Caching has not been enabled for the task
Putting task artifact state for task ':app:kaptKaufdaDebugKotlin' into context took 0.019 secs.
Task :app:kaptKaufdaDebugKotlin class loader hash: a838e713f4f3b6468d76718b109f2e8a
Task :app:kaptKaufdaDebugKotlin actions class loader hashes: [750e1d72030581ace81f7325929812f4, a838e713f4f3b6468d76718b109f2e8a]
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/main/kotlin', not found
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/kaufda/kotlin', not found
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/debug/kotlin', not found
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/kaufdaDebug/kotlin', not found
Cache key for task ':app:kaptKaufdaDebugKotlin' is 9d10198f22eee8a3aa34396384206863
Executing task ':app:kaptKaufdaDebugKotlin' (up-to-date check took 0.002 secs) due to:
Output property 'destinationDir' file /Users/aurelian.dumanovschi/Android/android-core/app/build/generated/source/kapt/kaufdaDebug/com/bonial/common/network/BasicConfig_MembersInjector.java has changed.
Output property 'destinationDir' file /Users/aurelian.dumanovschi/Android/android-core/app/build/generated/source/kapt/kaufdaDebug/com/bonial/shoppinglist/operations/ShoppingListRepositoryImpl_Factory.java has changed.
Output property 'destinationDir' file /Users/aurelian.dumanovschi/Android/android-core/app/build/generated/source/kapt/kaufdaDebug/com/bonial/kaufda/repository/offer_banner/OfferBannerRepositoryImpl_Factory.java has changed.
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/main/kotlin', not found
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/kaufda/kotlin', not found
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/debug/kotlin', not found
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/kaufdaDebug/kotlin', not found
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/main/kotlin', not found
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/kaufda/kotlin', not found
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/debug/kotlin', not found
file or directory '/Users/aurelian.dumanovschi/Android/android-core/app/src/kaufdaDebug/kotlin', not found
w: warning: Supported source version 'RELEASE_7' from annotation processor 'android.arch.persistence.room.RoomProcessor' less than -source '1.8'
w:
w: /Users/aurelian.dumanovschi/Android/android-core/app/src/main/java/com/bonial/shoppinglist/model/Clipping.java:22: warning: shoppingListItemId column references a foreign key but it is not part of an index. This may trigger full table scans whenever parent table is modified so you are highly advised to create an index that covers this column.
w:
w: public class Clipping implements Parcelable {
w: ^
w: /Users/aurelian.dumanovschi/Android/android-core/app/src/main/java/com/bonial/shoppinglist/database/ShoppingListDatabase.java:10: warning: Schema export directory is not provided to the annotation processor so we cannot export the schema. You can either provide `room.schemaLocation` annotation processor argument OR set exportSchema to false.
w:
w: public abstract class ShoppingListDatabase extends RoomDatabase {
w: ^
w: /Users/aurelian.dumanovschi/Android/android-core/app/build/tmp/kapt3/stubs/kaufdaDebug/com/bonial/kaufda/favorites/data/FavoritesRoomDatabase.java:8: warning: Schema export directory is not provided to the annotation processor so we cannot export the schema. You can either provide `room.schemaLocation` annotation processor argument OR set exportSchema to false.
w:
w: public abstract class FavoritesRoomDatabase extends android.arch.persistence.room.RoomDatabase {
w: ^
And now the errors:
e: /Users/aurelian.dumanovschi/Android/android-core/app/build/tmp/kapt3/stubs/kaufdaDebug/com/bonial/kaufda/favorites/SimpleStringFavorable.java:4: error: cannot find symbol
e:
e: public final class SimpleStringFavorable implements com.bonial.kaufda.favorites.Favorable {
e: ^
e: symbol: class Favorable
e: location: package com.bonial.kaufda.favorites
e: /Users/aurelian.dumanovschi/Android/android-core/app/build/tmp/kapt3/stubs/kaufdaDebug/com/bonial/kaufda/favorites/SimpleFavorable.java:4: error: cannot find symbol
e:
So, kapt says that the stubs have been generated, but that’s impossible because in the sources SimpleFavorable implements com.bonial.kaufda.favorites.**data**.Favorable
and not com.bonial.kaufda.favorites.Favorable
Also, SimpleStringFavorable doesn’t exist anymore