Merge branch 'feature/github-actions'

This commit is contained in:
Lukas Pieper 2020-08-14 16:59:40 +02:00
commit ba281482b6
6 changed files with 27 additions and 6 deletions

20
.github/workflows/continuous.yml vendored Normal file
View file

@ -0,0 +1,20 @@
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 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

View file

@ -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.

View file

@ -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"
}

View file

@ -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()
}
}

View file

@ -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

0
gradlew vendored Normal file → Executable file
View file