Skip to content
Merged
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
17 changes: 9 additions & 8 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,17 @@ jobs:
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '8.5'

- name: Generate Gradle Wrapper
run: gradle wrapper --gradle-version 8.5

- name: Grant execute permission for gradlew
run: |
if [ -f "./gradlew" ]; then
chmod +x ./gradlew
else
gradle wrapper
chmod +x ./gradlew
fi
run: chmod +x ./gradlew

- name: Build Debug APK
run: ./gradlew assembleDebug --no-daemon
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ plugins {

android {
namespace 'com.camerainterceptor'
compileSdk 33
compileSdk 34

defaultConfig {
applicationId "com.camerainterceptor"
minSdk 26
targetSdk 33
targetSdk 34
versionCode 1
versionName "1.0"
}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2' // Make sure this version is compatible with your Android Studio
classpath 'com.android.tools.build:gradle:8.1.4' // Compatible with Gradle 8.x
}
}

Expand Down
7 changes: 7 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
251 changes: 251 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading