Before we can start building the Domain layer of our Android Application, we need to setup the module that will contain it. In this lesson, we'll be creating this module and setting up the required properties and dependencies that will allow us to start building the Domain layer of our Clean Architecture approach.
A small typo bug in your dependencies file can be seen at 1:15. you define
mockitoVersion in the testing block but in
domainTestDependencies you reference
Also the final Domain module build.gradle file has one difference that is NOT noted here. In the video the first line is "Apply plugin: 'java-library' but in your github repo the line is:
Apply plugin: 'kotlin'
thanks for sharing! I can't recreate this from my end with this change, but I'll update the video incase it helps others :)
I cannot get this "Clean Architecture" project to work. I'm using Android Studio 3.2 beta 4, and whenever I open the project my modules are missing. I got all the way to the "Testing the Bookmark Project Use Case" video before I ended the session, now whenever I open the project Android Studio opens the project and my Domain module is gone. The folder is still there, but it does not appear in the Project view.
I'm having trouble with this: com.nhaarman:mockito-kotlin:1.9.5 (Failed to resolve: com.nhaarman:mockito-kotlin:1.9.5). I noticed that you use version 1.5.0 on github. The lower version works.
Problem creating the domain module's gradle file Gradle sync failed: Cannot get property 'domainDependencies' on extra properties extension as it does not exist
that might mean that the reference to the domainDependencies isn't setup correctly - do you have a snippet of your dependencies.gradle and domain build.gradle file to hand?