apply plugin: 'java-library' // Add the generated folder to the source directories so that we can work with generated classes // This is apparently necessary for use with requery. sourceSets { main.java.srcDirs += "${buildDir}/generated/sources/annotationProcessor/java/main/" } dependencies { implementation project(":core") implementation project(":entity_xmpp") // JXMPP for Jid types. Version comes from smacks version.gradle api("org.jxmpp:jxmpp-jid:$jxmppVersion") // RxJava2 api "io.reactivex.rxjava2:rxjava:$rxJava2Version" // Dagger 2 for dependency injection implementation "com.google.dagger:dagger:$daggerVersion" annotationProcessor "com.google.dagger:dagger-compiler:$daggerVersion" // Requery ORM api "io.requery:requery:$requeryVersion" annotationProcessor "io.requery:requery-processor:$requeryVersion" // JUnit for testing testImplementation "junit:junit:$junitVersion" implementation project(':thread_utils') } sourceCompatibility = "8" targetCompatibility = "8"