2019-11-03 06:33:52 +01:00
|
|
|
apply plugin: 'java-library'
|
|
|
|
|
2019-11-18 18:39:35 +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-12-01 19:55:50 +01:00
|
|
|
test.java.srcDirs += "${buildDir}/generated/sources/annotationProcessor/java/test/"
|
2019-11-18 18:39:35 +01:00
|
|
|
}
|
|
|
|
|
2019-11-03 06:33:52 +01:00
|
|
|
dependencies {
|
|
|
|
|
2019-11-18 18:39:35 +01:00
|
|
|
implementation project(":entity")
|
|
|
|
implementation project(':domain')
|
|
|
|
|
2019-11-23 21:16:03 +01:00
|
|
|
compileOnly 'org.projectlombok:lombok:1.18.10'
|
|
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.10'
|
|
|
|
|
2019-11-18 18:39:35 +01:00
|
|
|
// RxJava2
|
|
|
|
implementation "io.reactivex.rxjava2:rxjava:$rxJava2Version"
|
|
|
|
|
|
|
|
// Dagger 2 for dependency injection
|
|
|
|
implementation "com.google.dagger:dagger:$daggerVersion"
|
|
|
|
annotationProcessor "com.google.dagger:dagger-compiler:$daggerVersion"
|
2019-12-01 19:55:50 +01:00
|
|
|
testAnnotationProcessor "com.google.dagger:dagger-compiler:$daggerVersion"
|
2019-11-18 18:39:35 +01:00
|
|
|
|
|
|
|
// Requery ORM
|
|
|
|
api "io.requery:requery:$requeryVersion"
|
|
|
|
annotationProcessor "io.requery:requery-processor:$requeryVersion"
|
|
|
|
|
|
|
|
// JUnit for testing
|
|
|
|
testImplementation "junit:junit:$junitVersion"
|
2019-11-25 15:17:49 +01:00
|
|
|
|
|
|
|
testImplementation "org.xerial:sqlite-jdbc:3.28.0"
|
2019-11-03 06:33:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
sourceCompatibility = "8"
|
|
|
|
targetCompatibility = "8"
|