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
24 changes: 24 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Android CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: set up JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Build with Gradle
run: gradle build
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The app will be installed on all devices accessible to `adb`.
This project makes a few assumptions about your environment in order
to build correctly:

* You have `gradle` 8.7+ installed - there is no [Gradle Wrapper][]
* You have `gradle` 8.11+ installed - there is no [Gradle Wrapper][]
included.
* You have `JAVA_HOME` set up. If you have `java` in your path, you
should be good to go.
Expand Down
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.5.2'
classpath 'com.android.tools.build:gradle:8.10.0'
}
}

repositories {
google()
mavenCentral()
}

apply plugin: 'com.android.application'

android {
namespace "pl.czak.minimal"

compileSdkVersion 34
compileSdkVersion 35

defaultConfig {
targetSdk 34
targetSdk 35
}
}