Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/android-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
steps:
- name: Check out source
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Make Gradle wrapper executable
run: chmod +x gradlew
- name: Set up JDK 21
uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0
with:
Expand All @@ -31,9 +29,11 @@ jobs:
check-latest: false
- name: Configure Gradle
uses: gradle/actions/setup-gradle@3f131e8634966bd73d06cc69884922b02e6faf92 # v6.2.0
with:
gradle-version: '9.9.2'
- name: Verify build, lint, tests, and coverage
run: >-
./gradlew --no-daemon --stacktrace
gradle --no-daemon --stacktrace
:camera-view:lintDebug
:app:lintDebug
:app-compose:lintDebug
Expand Down Expand Up @@ -63,8 +63,6 @@ jobs:
steps:
- name: Check out source
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Make Gradle wrapper executable
run: chmod +x gradlew
- name: Set up JDK 21
uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0
with:
Expand All @@ -73,14 +71,16 @@ jobs:
check-latest: false
- name: Configure Gradle
uses: gradle/actions/setup-gradle@3f131e8634966bd73d06cc69884922b02e6faf92 # v6.2.0
with:
gradle-version: '9.9.2'
- name: Enable KVM
run: |
if [ -e /dev/kvm ]; then
sudo chmod 666 /dev/kvm
fi
- name: Run API 28 and API 37 managed-device tests
run: >-
./gradlew --no-daemon --stacktrace
gradle --no-daemon --stacktrace
:camera-view:cameraMatrixGroupDebugAndroidTest
-Pandroid.testoptions.manageddevices.emulator.gpu=swiftshader_indirect
- name: Upload device-test results
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@
*.iml
*.apk
.vscode/settings.json
# Build tooling, not code. Gradle itself is provisioned rather than carried: the wrapper's jar is
# a binary and its scripts are generated, so none of them belong in a source tree. CI installs the
# version it needs; a checkout gets it the same way.
/gradlew
/gradlew.bat
/gradle/wrapper/
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
* detector running in the image signal processor. Those need a camera, so they are here, and this
* is where the behaviour that only shows up on hardware shows up.</p>
*
* <p>Run with {@code ./gradlew :camera-view:cameraMatrixGroupDebugAndroidTest}, which covers an
* API 30 and an API 37 image. Every test skips rather than fails on a device with no camera, so
* the suite is honest about what it did not get to.</p>
* <p>Run with {@code gradle :camera-view:cameraMatrixGroupDebugAndroidTest}, which covers an API
* 28 and an API 37 image. Every test skips rather than fails on a device with no camera, so the
* suite is honest about what it did not get to.</p>
*/
@RunWith(AndroidJUnit4.class)
public final class CameraDeviceCaptureTest {
Expand Down
Binary file removed gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
8 changes: 0 additions & 8 deletions gradle/wrapper/gradle-wrapper.properties

This file was deleted.

248 changes: 0 additions & 248 deletions gradlew

This file was deleted.

Loading
Loading