diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml new file mode 100644 index 0000000..307bb69 --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,26 @@ +name: Android CI + +on: + push: + branches: [ "integration" ] + pull_request: + branches: [ "integration" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + cache: gradle + + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew build diff --git a/AndroidClient/build.gradle b/AndroidClient/build.gradle index a610610..ab31dce 100644 --- a/AndroidClient/build.gradle +++ b/AndroidClient/build.gradle @@ -29,8 +29,8 @@ android { //LocalDateTime features coreLibraryDesugaringEnabled = true - sourceCompatibility JavaVersion.VERSION_16 - targetCompatibility JavaVersion.VERSION_16 + sourceCompatibility JavaVersion.VERSION_21 + targetCompatibility JavaVersion.VERSION_21 } buildFeatures { viewBinding true