2019-12-17 21:18:54 -05:00
|
|
|
plugins {
|
|
|
|
`java-library`
|
|
|
|
}
|
|
|
|
|
|
|
|
group = "com.baeldung"
|
|
|
|
version = "1.0.0"
|
2024-01-15 13:57:48 -05:00
|
|
|
sourceCompatibility = "1.8"
|
|
|
|
targetCompatibility = "1.8"
|
2019-12-17 21:18:54 -05:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
api("io.reactivex.rxjava2:rxjava:2.2.16")
|
|
|
|
implementation("com.google.guava:guava") {
|
|
|
|
version {
|
|
|
|
require("10.0")
|
|
|
|
prefer("28.1-jre")
|
|
|
|
because("Only uses ImmutableList type, so any version since 2.0 will do, but tested with 28.1-jre")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter-api:5.5.2")
|
|
|
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.5.2")
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.compileJava {
|
|
|
|
sourceCompatibility = "1.8"
|
|
|
|
targetCompatibility = "1.8"
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|