ReloadableHiltModule/processor/build.gradle

32 lines
No EOL
1 KiB
Groovy

apply plugin: 'java-library'
apply plugin: 'kotlin'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
test {
useJUnitPlatform()
testLogging {
events 'started', 'passed', 'skipped', 'failed'
exceptionFormat "full"
showStandardStreams true
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "com.squareup:javapoet:1.13.0"
implementation project(":annotation")
implementation "com.google.dagger:hilt-core:$hilt_version"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.7.0"
testImplementation "org.junit.jupiter:junit-jupiter-engine:5.7.0"
testImplementation "com.github.tschuchortdev:kotlin-compile-testing:1.4.2"
testRuntimeOnly("org.jetbrains.kotlin:kotlin-compiler-embeddable:$kotlin_version")
testRuntimeOnly("org.jetbrains.kotlin:kotlin-annotation-processing-embeddable:$kotlin_version")
}
sourceCompatibility = "8"
targetCompatibility = "8"