Annotation processor Implementation
This commit is contained in:
parent
c1b8d92461
commit
edf94325d8
19 changed files with 484 additions and 0 deletions
32
processor/build.gradle
Normal file
32
processor/build.gradle
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue