Mercury-IM/data/build.gradle

45 lines
1.7 KiB
Groovy
Raw Normal View History

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/"
2019-12-01 19:55:50 +01:00
test.java.srcDirs += "${buildDir}/generated/sources/annotationProcessor/java/test/"
}
dependencies {
implementation project(":entity")
implementation project(':domain')
2020-05-16 15:53:54 +02:00
compileOnly "org.projectlombok:lombok:$lombokVersion"
annotationProcessor "org.projectlombok:lombok:$lombokVersion"
2020-10-24 19:25:28 +02:00
testAnnotationProcessor "org.projectlombok:lombok:$lombokVersion"
2019-11-23 21:16:03 +01:00
// RxJava2
implementation "io.reactivex.rxjava2:rxjava:$rxJava2Version"
// Dagger 2 for dependency injection
implementation "com.google.dagger:dagger:$daggerVersion"
2020-10-24 19:25:28 +02:00
testImplementation "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"
// Requery ORM
api "io.requery:requery:$requeryVersion"
annotationProcessor "io.requery:requery-processor:$requeryVersion"
2020-10-24 19:25:28 +02:00
testAnnotationProcessor "io.requery:requery-processor:$requeryVersion"
2020-06-13 19:14:38 +02:00
implementation 'com.google.code.findbugs:jsr305:3.0.2'
// JUnit for testing
2020-09-11 14:41:48 +02:00
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
testImplementation "org.junit.jupiter:junit-jupiter-params:$junitVersion"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
2020-01-06 01:27:11 +01:00
testImplementation 'org.xerial:sqlite-jdbc:3.30.1'
}
sourceCompatibility = "8"
targetCompatibility = "8"