Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IntelliJ can't seem to find the UOM code (i.e. everything is red) #14

Open
kunalsheth opened this issue Nov 24, 2019 · 0 comments
Open

IntelliJ can't seem to find the UOM code (i.e. everything is red) #14

kunalsheth opened this issue Nov 24, 2019 · 0 comments

Comments

@kunalsheth
Copy link
Owner

@kunalsheth kunalsheth commented Nov 24, 2019

Make sure your Gradle project is properly imported into IntelliJ:

  1. IntelliJ Menu Bar: View > Tool Windows > Gradle
  2. Gradle Tool Window: Sync
  3. Gradle Tool Window: [project name] > Tasks > unitsofmeasure > generateUnitsOfMeasure
  4. Gradle Tool Window: Sync
  5. open the generated UnitsOfMeasure.kt file in build/uoms directory of your units-of-measure Gradle module.
  6. wait for IntelliJ to finish lagging
  7. restart IntelliJ if necessary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.