Skip to content

Commit

Permalink
Merge pull request #20 from Leifzhang/feature/dependcies
Browse files Browse the repository at this point in the history
[feat]  软连接改造 compiler
  • Loading branch information
Leifzhang authored Feb 7, 2023
2 parents 84de432 + 2de8346 commit f9ab2f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion compiler/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@ plugins {
id("kotlin-kapt")
}

java.sourceSets["main"].java {
srcDir("src/link/main")
}


dependencies {
implementation(libs.auto.service)
implementation(libs.javapoet)
implementation(libs.commons.lang3)
implementation(libs.commons.collections4)
implementation(libs.annotation)
// implementation(libs.annotation)
implementation(files(org.gradle.internal.jvm.Jvm.current().toolsJar))
implementation(libs.kotlin.stdlib.jdk7)
kapt(libs.auto.service)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment
}

private void initRouter(String name, RoundEnvironment roundEnv) {

Set<? extends Element> elements = roundEnv.getElementsAnnotatedWith(BindRouter.class);
if (elements.isEmpty()) {
return;
Expand Down

0 comments on commit f9ab2f4

Please sign in to comment.