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

Adds KotlinPoet integration to Room Processing #137

Closed

Commits on Mar 11, 2021

  1. Adds KotlinPoet integration to Room Processing

    Adds `write()` method that accepts KotlinPoet's an instance of
    `FileSpec`. Also adds KotlinPoet as an API dependency and an extension
    function similar to that of JavaPoet.
    
    Test: ./gradlew test connectedCheck without benchmarks
    Fixes: b/182195680
    gcvasconcelos-picpay committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    1cb5776 View commit details
    Browse the repository at this point in the history
  2. Adds tests for KotlinPoet integration

    Modifies `KotlinSource` to take relative path instead of absolute path
    for testing, making it somewhat similar to how `JavaSource` takes
    qualified name.
    gcvasconcelos-picpay committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    8be3c95 View commit details
    Browse the repository at this point in the history
  3. Adds javaAP precondition to KotlinPoet integration

    Also adds tests for the changes and marks tests which skip backends it
    does not target with `AssumptionViolatedException`.
    gcvasconcelos-picpay committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    f05bd16 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    96dc315 View commit details
    Browse the repository at this point in the history