Skip to content

Fix Kotlin DSL build error: import Properties instead of java.util.Pr… #51

Fix Kotlin DSL build error: import Properties instead of java.util.Pr…

Fix Kotlin DSL build error: import Properties instead of java.util.Pr… #51

Workflow file for this run

name: Android CI
on:
push:
# NOTE: the play-store-readiness branch is included temporarily so the
# toolchain/SDK changes get verified by CI. Remove before/at merge.
branches: [master, main, claude/play-store-readiness-udmx57]
pull_request:
branches: [master, main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Run lint
run: ./gradlew lint
- name: Build Release APK
run: ./gradlew assembleRelease
- name: Build Release App Bundle (AAB)
run: ./gradlew bundleRelease
- name: Upload Release APK
uses: actions/upload-artifact@v4
with:
name: release-apk
path: app/build/outputs/apk/release/*.apk
- name: Upload Release AAB
uses: actions/upload-artifact@v4
with:
name: release-aab
path: app/build/outputs/bundle/release/*.aab
- name: Upload Debug APK
uses: actions/upload-artifact@v4
with:
name: debug-apk
path: app/build/outputs/apk/debug/*.apk