Skip to content

Commit

Permalink
fix issue #6 - now we create Dependencies instance with file associ…
Browse files Browse the repository at this point in the history
…ation.
  • Loading branch information
atsushieno committed Dec 1, 2021
1 parent 7f05f5f commit 5721784
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ actual fun initializeModelCatalog() {

logger.info("Generating MetaType${name}")

val writer = codeGenerator.createNewFile(Dependencies(false), "dev.atsushieno.kotractive", "MetaType${name}").writer()
val writer = codeGenerator.createNewFile(Dependencies(true, classDeclaration.containingFile!!), "dev.atsushieno.kotractive", "MetaType${name}").writer()
writer.write("""
package dev.atsushieno.kotractive
Expand Down

0 comments on commit 5721784

Please sign in to comment.