2019-08-03 19:05:50 +02:00
|
|
|
apply plugin: 'java-library'
|
2019-05-19 02:00:33 +02:00
|
|
|
|
2019-10-28 14:56:56 +01:00
|
|
|
// 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/"
|
|
|
|
}
|
|
|
|
|
2019-05-19 02:00:33 +02:00
|
|
|
dependencies {
|
|
|
|
|
2019-10-28 14:56:56 +01:00
|
|
|
// JXMPP for Jid types. Version comes from smacks version.gradle
|
|
|
|
api("org.jxmpp:jxmpp-jid:$jxmppVersion")
|
2019-05-19 02:00:33 +02:00
|
|
|
|
2019-08-03 19:05:50 +02:00
|
|
|
// RxJava2
|
2019-08-10 21:50:03 +02:00
|
|
|
api "io.reactivex.rxjava2:rxjava:$rxJava2Version"
|
2019-05-19 02:00:33 +02:00
|
|
|
|
2019-08-04 04:22:08 +02:00
|
|
|
// Dagger 2 for dependency injection
|
|
|
|
implementation "com.google.dagger:dagger:$daggerVersion"
|
|
|
|
annotationProcessor "com.google.dagger:dagger-compiler:$daggerVersion"
|
|
|
|
|
2019-10-28 14:56:56 +01:00
|
|
|
// Requery ORM
|
|
|
|
api "io.requery:requery:$requeryVersion"
|
|
|
|
annotationProcessor "io.requery:requery-processor:$requeryVersion"
|
|
|
|
|
|
|
|
// JUnit for testing
|
2019-08-03 19:05:50 +02:00
|
|
|
testImplementation "junit:junit:$junitVersion"
|
2019-10-28 14:56:56 +01:00
|
|
|
implementation project(':thread_utils')
|
2019-05-19 02:00:33 +02:00
|
|
|
}
|
2019-10-28 14:56:56 +01:00
|
|
|
|
|
|
|
sourceCompatibility = "8"
|
|
|
|
targetCompatibility = "8"
|