Skip to content

Commit

Permalink
Update Quickstart instructions on IDE mapping of generated files
Browse files Browse the repository at this point in the history
It's good for newcomers to know of this workaround while #37 is open.
  • Loading branch information
edrd-f authored and ting-yuan committed Aug 11, 2021
1 parent b87f310 commit 4aa938d
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,21 @@ build/generated/ksp/main/java/
```

and perhaps also resource directory if your IDE supports them:

```
build/generated/ksp/main/resources/
```
build/generated/ksp/main/resources

It may also be necessary to configure these directories in your KSP consumer module:

###### build.gradle.kts
```kotlin
kotlin {
sourceSets.main {
kotlin.srcDir("build/generated/ksp/main/kotlin")
}
sourceSets.test {
kotlin.srcDir("build/generated/ksp/test/kotlin")
}
}
```

0 comments on commit 4aa938d

Please sign in to comment.