Store/store/build.gradle
Eyal Guthmann e773021fec
Revert to use the old guava port cache (via jar) (#200)
* Revert to using guava port cache by depending on jar

* Apply suggestions from code review

* revert code to old cache

* clean up build.gradle

* manually remove cache4 entries that are regenerated locally because of some dirty cache?

* bump gradle

* rerun tasks

* try to deflake rx tests

* cache builder tests

* api dump

* bump ktlint to work with 1.4 features

* formatting

Co-authored-by: Mike Nakhimovich <digitalbuddha@users.noreply.github.com>
2020-09-14 14:49:34 -07:00

60 lines
No EOL
1.3 KiB
Groovy

buildscript {
tasks.withType(JavaCompile) {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
mavenCentral()
}
}
plugins {
id 'org.jetbrains.kotlin.jvm'
id 'org.jetbrains.dokka'
}
group = GROUP
version = VERSION_NAME
dependencies {
implementation libraries.cache
implementation project(path: ':multicast')
implementation libraries.coroutinesCore
testImplementation libraries.mockito
testImplementation libraries.mockitoKotlin
testImplementation libraries.truth
testImplementation libraries.junit
testImplementation libraries.coroutinesTest
}
apply from: rootProject.file("gradle/maven-push.gradle")
apply from: rootProject.file("gradle/jacoco.gradle")
targetCompatibility = 1.8
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs += [
'-Xopt-in=kotlin.Experimental',
]
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs += [
'-Xopt-in=kotlin.RequiresOptIn',
]
}
}
dokka {
outputFormat = 'javadoc'
outputDirectory = "$buildDir/dokkaHtml"
}