-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Make paging-testing
multiplatform with only a JVM implementation
#586
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
Conversation
import androidx.build.Publish | ||
|
||
plugins { | ||
id("AndroidXPlugin") | ||
id("com.android.library") | ||
id("org.jetbrains.kotlin.android") |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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!
01c6cda
to
ccf7f1d
Compare
implementation(project(":paging:paging-common")) | ||
} | ||
} | ||
jvmTest { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
ccf7f1d
to
7250175
Compare
Test: ./gradlew paging:paging-testing:allTests