This commit is contained in:
Aidan Follestad 2019-01-11 22:09:06 -08:00
commit 1f6fe013a0
5 changed files with 29 additions and 14 deletions

View file

@ -1,19 +1,22 @@
language: android language: android
jdk: oraclejdk8 jdk: oraclejdk8
before_script:
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a env:
- emulator -avd test -no-audio -no-window & matrix:
- android-wait-for-emulator - ANDROID_TARGET=android-21 ANDROID_ABI=armeabi-v7a
- adb shell input keyevent 82 &
android: android:
components: components:
- tools - tools # to get the new `repository-11.xml`
- tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943)
- platform-tools - platform-tools
- build-tools-28.0.3 - build-tools-28.0.3
- android-28 - android-28
- extra-android-support
- extra-android-m2repository
- extra-google-m2repository
licenses: licenses:
- '.+' - '.+'
before_install:
- yes | sdkmanager "platforms;android-28"
script:
- ./gradlew build connectedCheck

View file

@ -31,6 +31,7 @@ android {
buildTypes { buildTypes {
debug { debug {
ext.enableCrashlytics = false
buildConfigField "String", "FABRIC_API_KEY", "\"\"" buildConfigField "String", "FABRIC_API_KEY", "\"\""
} }
release { release {

View file

@ -50,9 +50,6 @@
</intent-filter> </intent-filter>
</receiver> </receiver>
<meta-data
android:name="io.fabric.ApiKey"
android:value="${fabricKey}"/>
<meta-data <meta-data
android:name="preloaded_fonts" android:name="preloaded_fonts"
android:resource="@array/preloaded_fonts"/> android:resource="@array/preloaded_fonts"/>

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.afollestad.nocknock">
<application>
<meta-data
android:name="io.fabric.ApiKey"
android:value="${fabricKey}"/>
</application>
</manifest>

View file

@ -3,8 +3,8 @@ ext.versions = [
minSdk : 21, minSdk : 21,
compileSdk : 28, compileSdk : 28,
buildTools : '28.0.3', buildTools : '28.0.3',
publishVersion : '0.8.4', publishVersion : '0.8.5',
publishVersionCode : 37, publishVersionCode : 39,
// Plugins // Plugins
gradlePlugin : '3.2.1', gradlePlugin : '3.2.1',