Files
PlayIntegrityFork/.github/workflows/android.yml
Chris Renshaw 1745060524 No stacktraces needed though
The remaining Gradle deprecation warnings are from Android Gradle Plugin (AGP), so figuring out why AGP 8.9.x+ breaks spoofSignature, and fixing that so that AGP can be updated is the only way to resolve things for Gradle 9.0:

Declaring an 'is-' property with a Boolean type has been deprecated. Starting with Gradle 9.0, this property will be ignored by Gradle.
[...]
Add a method named 'getCrunchPngs' with the same behavior and mark the old one with @Deprecated, or change the type of 'com.android.build.gradle.internal.dsl.BuildType$AgpDecorated.isCrunchPngs' (and the setter) to 'boolean'. [...]
Add a method named 'getUseProguard' with the same behavior and mark the old one with @Deprecated, or change the type of 'com.android.build.gradle.internal.dsl.BuildType.isUseProguard' (and the setter) to 'boolean'. [...]
Add a method named 'getWearAppUnbundled' with the same behavior and mark the old one with @Deprecated, or change the type of 'com.android.build.api.variant.impl.ApplicationVariantImpl.isWearAppUnbundled' (and the setter) to 'boolean'. [...]
2025-06-01 20:49:48 -03:00

41 lines
816 B
YAML

name: Android CI
on:
push:
branches: main
paths-ignore: '**.md'
pull_request:
branches: main
paths-ignore: '**.md'
jobs:
build:
runs-on: macos-15
steps:
- name: Check out
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew --warning-mode all assembleRelease
- name: Upload CI module zip as artifact zip
uses: actions/upload-artifact@v4
with:
name: PlayIntegrityFork-CI_#${{ github.run_number }}
path: 'module/*'
compression-level: 9