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

[Navigation] update KotlinPoet to 1.8.0 for navigation safe-args #172

Closed

Conversation

tatocaster
Copy link
Contributor

Proposed Changes

Update KotlinPoet to 1.8.0 for navigation safe-args.

Testing

Test: ./gradlew test

Issues Fixed

Fixes: The bug on https://issuetracker.google.com/issues/183990444 being fixed

@tatocaster
Copy link
Contributor Author

tatocaster commented May 2, 2021

except the PR,

const val KOTLINPOET = "com.squareup:kotlinpoet:1.4.0"
const val KOTLINPOET_METADATA = "com.squareup:kotlinpoet-metadata:1.4.0"
const val KOTLINPOET_METADATA_SPECS = "com.squareup:kotlinpoet-metadata-specs:1.4.0"
const val KOTLINPOET_CLASSINSPECTOR_ELEMENTS = "com.squareup:kotlinpoet-classinspector-elements:1.4.0"

Those properties are not used anywhere. I guess we can safely remove

@tatocaster tatocaster changed the title update KotlinPoet to 1.8.0 for navigation safe-args [Navigation] update KotlinPoet to 1.8.0 for navigation safe-args May 2, 2021
Copy link
Member

@ianhanniballake ianhanniballake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As part of this, can you please remove the unused dependencies:

const val KOTLINPOET_METADATA = "com.squareup:kotlinpoet-metadata:1.4.0"
const val KOTLINPOET_METADATA_SPECS = "com.squareup:kotlinpoet-metadata-specs:1.4.0"
const val KOTLINPOET_CLASSINSPECTOR_ELEMENTS = "com.squareup:kotlinpoet-classinspector-elements:1.4.0"

@@ -32,7 +32,7 @@ dependencies {
implementation(KOTLIN_STDLIB)

implementation(JAVAPOET)
implementation("com.squareup:kotlinpoet:1.7.2")
implementation("com.squareup:kotlinpoet:1.8.0")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the KOTLINPOET variable here and update the value there.

@copybara-service copybara-service bot closed this in a828be4 May 4, 2021
@ianhanniballake
Copy link
Member

Thanks for the pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants