Skip to content

Commit

Permalink
Remove Kotlin section from readme (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
geralt-encore authored and artem-zinnatullin committed Apr 27, 2017
1 parent 6d92d70 commit b9347ee
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,18 +209,6 @@ public abstract class Tweet {
}
```

`Kotlin`:

In order to make annotation processors work with Kotlin you need to add the following to your `build.gradle`:
```groovy
apply plugin: 'kotlin-kapt'
```

```kotlin
@StorIOSQLiteType(table = "tweets") data class Tweet @StorIOSQLiteCreator constructor(@get:StorIOSQLiteColumn(name = "author") val author: String,
@get:StorIOSQLiteColumn(name = "content") val content: String)
```

Annotation Processor will generate three classes in same package as annotated class during compilation:

* `TweetStorIOSQLitePutResolver`
Expand Down

0 comments on commit b9347ee

Please sign in to comment.