Skip to content

Commit

Permalink
refactor(retrofit2): move java classes from main/groovy/.. to main/ja…
Browse files Browse the repository at this point in the history
…va/.. in echo-notifications
  • Loading branch information
kirangodishala committed Jan 2, 2025
1 parent f6dac52 commit f94a6ec
Show file tree
Hide file tree
Showing 46 changed files with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion echo-notifications/echo-notifications.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ dependencies {
implementation project(':echo-core')
implementation project(':echo-model')
implementation project(":echo-pipelinetriggers")
implementation project(":echo-test")
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "com.squareup.retrofit2:retrofit"
implementation "com.squareup.retrofit2:converter-jackson"
Expand All @@ -35,6 +34,7 @@ dependencies {
implementation "io.cloudevents:cloudevents-http-basic:3.0.0"
implementation "io.cloudevents:cloudevents-json-jackson:3.0.0"
implementation ("dev.cdevents:cdevents-sdk-java:0.3.1")
testImplementation project(":echo-test")
testImplementation("com.icegreen:greenmail:1.5.14") {
exclude group: "com.sun.mail", module: "javax.mail"
}
Expand All @@ -45,3 +45,10 @@ dependencies {
testImplementation "com.github.tomakehurst:wiremock-jre8"
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
}

sourceSets {
main {
java { srcDirs = [] } // no source dirs for the java compiler
groovy { srcDirs = ["src/main/java", "src/main/groovy"] } // compile everything in src/ with groovy
}
}

0 comments on commit f94a6ec

Please sign in to comment.