From 1e9063c074810b76bf4868f46cf153e1af99dd97 Mon Sep 17 00:00:00 2001 From: Ndiritu Date: Tue, 4 Jun 2024 22:56:56 +0300 Subject: [PATCH] update workflow --- .github/workflows/androidbuild.yml | 6 ++---- app/build.gradle.kts | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/androidbuild.yml b/.github/workflows/androidbuild.yml index 96f351d..603f5d3 100644 --- a/.github/workflows/androidbuild.yml +++ b/.github/workflows/androidbuild.yml @@ -1,11 +1,9 @@ name : AndroidBuild on: pull_request: - branches: - - master,develop + branches: [master,develop] push: - branches: - - master,develop + branches: [master,develop] workflow_dispatch: diff --git a/app/build.gradle.kts b/app/build.gradle.kts index a91fe86..4534441 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -31,8 +31,8 @@ android { } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = "1.8"