From 4fecc92c849485c720e79ae94ee2e9e71bd01f24 Mon Sep 17 00:00:00 2001 From: Lukas Pieper <30661176+lukaspieper@users.noreply.github.com> Date: Fri, 14 Aug 2020 14:18:31 +0200 Subject: [PATCH 1/5] Create continuous.yml --- .github/workflows/continuous.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/continuous.yml diff --git a/.github/workflows/continuous.yml b/.github/workflows/continuous.yml new file mode 100644 index 0000000..224db0f --- /dev/null +++ b/.github/workflows/continuous.yml @@ -0,0 +1,15 @@ +name: continuous + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Build with Gradle + run: ./gradlew build From 24ada5739258acc89c4be12c75d958722051017b Mon Sep 17 00:00:00 2001 From: Lukas Pieper <30661176+lukaspieper@users.noreply.github.com> Date: Fri, 14 Aug 2020 14:25:13 +0200 Subject: [PATCH 2/5] Make gradlew executable --- gradlew | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 gradlew diff --git a/gradlew b/gradlew old mode 100644 new mode 100755 From 35f5e1dfc08b5a4866386827b9d6abdd7b1516fd Mon Sep 17 00:00:00 2001 From: Lukas Pieper <30661176+lukaspieper@users.noreply.github.com> Date: Fri, 14 Aug 2020 14:44:58 +0200 Subject: [PATCH 3/5] Build debug apk with GitHub Actions --- .github/workflows/continuous.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous.yml b/.github/workflows/continuous.yml index 224db0f..0e88e5d 100644 --- a/.github/workflows/continuous.yml +++ b/.github/workflows/continuous.yml @@ -11,5 +11,10 @@ jobs: uses: actions/setup-java@v1 with: java-version: 1.8 - - name: Build with Gradle - run: ./gradlew build + - name: Build Debug APK with Gradle + run: ./gradlew assembleDebug + - name: Upload APK + uses: actions/upload-artifact@v2 + with: + name: App + path: ${{ github.workspace }}/app/build/outputs/apk/debug/app-debug.apk From ec32d3745ecb9e09b70d167a1d19f6c92e4050aa Mon Sep 17 00:00:00 2001 From: Lukas Pieper <30661176+lukaspieper@users.noreply.github.com> Date: Fri, 14 Aug 2020 16:21:22 +0200 Subject: [PATCH 4/5] Update Gradle --- app/build.gradle | 2 +- build.gradle | 4 +--- gradle/wrapper/gradle-wrapper.properties | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 721fa21..9190884 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -25,5 +25,5 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" } diff --git a/build.gradle b/build.gradle index 84b783e..b84b774 100644 --- a/build.gradle +++ b/build.gradle @@ -5,10 +5,9 @@ buildscript { repositories { google() jcenter() - } dependencies { - classpath 'com.android.tools.build:gradle:3.6.3' + classpath 'com.android.tools.build:gradle:4.0.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong @@ -20,7 +19,6 @@ allprojects { repositories { google() jcenter() - } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 6ec7e32..7bf48a2 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Sat Apr 25 20:20:05 CEST 2020 +#Fri Aug 14 14:41:53 CEST 2020 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip From b5c741a4c9c3ed40a02c20c8f758faf0da25e00f Mon Sep 17 00:00:00 2001 From: Lukas Pieper <30661176+lukaspieper@users.noreply.github.com> Date: Fri, 14 Aug 2020 16:30:11 +0200 Subject: [PATCH 5/5] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 97d5fcb..6221193 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # Gcam Services Provider + +[![continuous](https://github.com/lukaspieper/Gcam-Services-Provider/workflows/continuous/badge.svg)](https://github.com/lukaspieper/Gcam-Services-Provider/actions) + This app "simulates" the Google Play Services that Gcam requires, allowing the camera app to be used on devices without Google Play Services. The app does not have a Ui for the simple reason that it is not needed.