Skip to content

Commit

Permalink
shadow the dagger dependency into the compiler jar
Browse files Browse the repository at this point in the history
  • Loading branch information
h908714124 committed Mar 23, 2022
1 parent 8c169fb commit ec6f08d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ shadowJar {
relocate('io.jbock.auto.common', 'io.jbock.shadow.auto.common')
relocate('io.jbock.javapoet', 'io.jbock.shadow.javapoet')
relocate('jakarta.inject', 'io.jbock.shadow.jakarta.inject')
relocate('dagger.internal', 'io.jbock.shadow.dagger.internal')
}

dependencies {
Expand All @@ -59,7 +60,7 @@ dependencies {
implementation('io.github.jbock-java:auto-common:1.2.3')
implementation('jakarta.inject:jakarta.inject-api:2.0.1')
shadow(jbock)
compileOnly(dapper)
implementation(dapper)
annotationProcessor('io.github.jbock-java:dapper-compiler:2.41.2')
testImplementation('io.github.jbock-java:compile-testing:0.19.12')
testImplementation('org.junit.jupiter:junit-jupiter:5.8.2')
Expand Down

0 comments on commit ec6f08d

Please sign in to comment.