Metadata Kotlin Examples
This README is only here for developer troubleshooting information. Individual code examples should be discussed in the main spec files.
IntelliJ Troubleshooting
Problem:
Either the .kt files have a lot of red or IntelliJ doesn't give an option to run the unit tests:
Solution:
- Open the
x/metadata/spec/examples/kotlin/build.gradle.kts
file. - There should be a banner at the top indicating an issue with code insight.
- Click the "Link Gradle Project" link on the right end of that banner.
- Navigate to and select that same
x/metadata/spec/examples/kotlin/build.gradle.kts
file. - Wait for the loading/indexing to finish.