Skip to content

Commit

Permalink
Merge pull request #76 from SchwarzIT/feature/reduce_size
Browse files Browse the repository at this point in the history
# fixed generation issue
  • Loading branch information
sbra0902 authored Aug 25, 2023
2 parents c8b0341 + 5287058 commit 5e1b555
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crystal-map-processor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ apply plugin: 'kotlin-kapt'

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.squareup:kotlinpoet:1.13.2'
implementation 'com.squareup:kotlinpoet-metadata:1.13.2'
implementation 'com.squareup:kotlinpoet:1.6.0'
implementation 'com.squareup:kotlinpoet-metadata:1.6.0'
implementation project(path: ':crystal-map-api', configuration: 'default')
implementation 'org.apache.commons:commons-lang3:3.4'
implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.13.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class CodeGenerator(private val filer: Filer) {
}

val codePath = processingEnvironment.options[CoachBaseBinderProcessor.KAPT_KOTLIN_GENERATED_OPTION_NAME]
val fileWithHeader = entityToGenerate.toBuilder().addFileComment(HEADER).build()
val fileWithHeader = entityToGenerate.toBuilder().addComment(HEADER).build()

// used for kapt returns null for legacy annotationprocessor declarations
if (codePath != null) {
Expand Down

0 comments on commit 5e1b555

Please sign in to comment.