Skip to content

Commit

Permalink
# upgraded kotlinpoet
Browse files Browse the repository at this point in the history
# fixed package declaration
  • Loading branch information
sbra0902 committed Aug 5, 2020
1 parent 89ac1a8 commit b58c434
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion kokain-processor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apply plugin: 'kotlin-kapt'

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.squareup:kotlinpoet:1.3.0'
implementation 'com.squareup:kotlinpoet:1.6.0'
implementation "org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.1.0"
implementation project(path: ':kokain-core-api', configuration: 'default')
implementation 'org.apache.commons:commons-lang3:3.4'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
package com.schwarz.kokain.processor

import com.google.auto.service.AutoService
import com.kaufland.generation.CodeGenerator
import com.schwarz.kokain.processor.generation.CodeGenerator
import com.schwarz.kokain.processor.validation.PreValidator
import com.schwarz.kokain.api.EBean
import com.schwarz.kokain.api.EFactory
import com.schwarz.kokain.processor.generation.FactoryGenerator
import com.schwarz.kokain.processor.generation.ShadowBeanGenerator
import com.schwarz.kokain.processor.model.EBeanModel
import com.schwarz.kokain.processor.model.EFactoryModel
import com.schwarz.kokain.processor.util.TypeUtil
import java.lang.RuntimeException
import javax.annotation.processing.*
import javax.lang.model.SourceVersion
import javax.lang.model.element.TypeElement
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
package com.kaufland.generation
package com.schwarz.kokain.processor.generation

import com.squareup.kotlinpoet.FileSpec

import java.io.IOException

import javax.annotation.processing.Filer
import javax.tools.Diagnostic
import javax.tools.JavaFileObject



class CodeGenerator(private val filer: Filer) {
Expand Down

0 comments on commit b58c434

Please sign in to comment.