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

Make paging-testing multiplatform with only a JVM implementation #586

Closed

Conversation

veyndan
Copy link
Contributor

@veyndan veyndan commented Jul 6, 2023

Test: ./gradlew paging:paging-testing:allTests

@veyndan veyndan requested review from dlam and yigit as code owners July 6, 2023 22:36
import androidx.build.Publish

plugins {
id("AndroidXPlugin")
id("com.android.library")
id("org.jetbrains.kotlin.android")
Copy link
Member

Choose a reason for hiding this comment

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

I think we need to continue targeting android because the first stable version is to be released with android support. @ianhanniballake What are your thoughts on this?

Copy link
Member

Choose a reason for hiding this comment

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

Given that these are testing paging-common APIs, I think it makes to match the same set of targets.

Copy link
Member

Choose a reason for hiding this comment

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

@veyndan We are in the process of refactoring Logger in paging-common with added android target so paging-common will become an android library. Working on the CL as we speak, should be up today. I'll cc you on it.

Copy link
Member

Choose a reason for hiding this comment

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

I've updated paging-common into an android library now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just updated the PR to add back the android target!

implementation(project(":paging:paging-common"))
}
}
jvmTest {
Copy link
Member

Choose a reason for hiding this comment

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

Does command ./gradlew paging:paging-testing:connectedCheck still run successfully? I know we don't have android tests but in paging-common I had to add android-specific test dependencies or else connectCheck task errors out. Not sure if we need it for paging-testing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just ran it and it completed successfully

@copybara-service copybara-service bot closed this in ff1c6b2 Aug 3, 2023
@veyndan veyndan deleted the veyndan/paging-test-jvm branch August 3, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants