Loading .gitignore +4 −3 Original line number Diff line number Diff line build/ .gradle/ user.gradle local.properties *.iml gen bin build .travis.yml 0 → 100644 +16 −0 Original line number Diff line number Diff line language: android sudo: false git: submodules: false script: - export JAVA_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m" - export TERM=dumb - echo sdk.dir $ANDROID_HOME > local.properties - ./gradlew assembleDebug -x lint android: components: - extra-android-m2repository - build-tools-23.0.1 - android-23 Android.mk +4 −2 Original line number Diff line number Diff line Loading @@ -17,10 +17,12 @@ include $(CLEAR_VARS) LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_SRC_FILES := $(call all-java-files-under, fake-store/src/main/java) LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/fake-store/src/main/res LOCAL_MANIFEST_FILE := fake-store/src/AndroidManifest.xml LOCAL_PACKAGE_NAME := FakeStore LOCAL_SDK_VERSION := current LOCAL_PRIVILEGED_MODULE := true LOCAL_PRIVILEGED_MODULE := false LOCAL_PROGUARD_FLAG_FILES := proguard.flags Loading build.gradle→fake-store/build.gradle +12 −9 Original line number Diff line number Diff line /* * Copyright 2013-2015 µg Project Team * Copyright 2013-2015 microG Project Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. Loading @@ -16,20 +16,23 @@ buildscript { repositories { mavenCentral() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.1.0' classpath 'com.android.tools.build:gradle:1.3.0' } } apply plugin: 'com.android.application' repositories { mavenCentral() android { compileSdkVersion 23 buildToolsVersion "23.0.1" compileOptions { sourceCompatibility JavaVersion.VERSION_1_6 } } android { compileSdkVersion 21 buildToolsVersion "21.1.2" if (file('user.gradle').exists()) { apply from: 'user.gradle' } src/main/AndroidManifest.xml→fake-store/src/main/AndroidManifest.xml +11 −2 Original line number Diff line number Diff line Loading @@ -16,9 +16,18 @@ --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.vending"> package="com.android.vending" android:versionCode="1" android:versionName="0.0.1"> <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="23" /> <uses-permission android:name="android.permission.FAKE_PACKAGE_SIGNATURE" /> <application android:icon="@drawable/icon" android:label="@string/app_name"> <application android:icon="@drawable/icon" android:label="@string/app_name"> <meta-data android:name="fake-signature" android:value="@string/fake_signature" /> </application> </manifest> Loading
.gitignore +4 −3 Original line number Diff line number Diff line build/ .gradle/ user.gradle local.properties *.iml gen bin build
.travis.yml 0 → 100644 +16 −0 Original line number Diff line number Diff line language: android sudo: false git: submodules: false script: - export JAVA_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m" - export TERM=dumb - echo sdk.dir $ANDROID_HOME > local.properties - ./gradlew assembleDebug -x lint android: components: - extra-android-m2repository - build-tools-23.0.1 - android-23
Android.mk +4 −2 Original line number Diff line number Diff line Loading @@ -17,10 +17,12 @@ include $(CLEAR_VARS) LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_SRC_FILES := $(call all-java-files-under, fake-store/src/main/java) LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/fake-store/src/main/res LOCAL_MANIFEST_FILE := fake-store/src/AndroidManifest.xml LOCAL_PACKAGE_NAME := FakeStore LOCAL_SDK_VERSION := current LOCAL_PRIVILEGED_MODULE := true LOCAL_PRIVILEGED_MODULE := false LOCAL_PROGUARD_FLAG_FILES := proguard.flags Loading
build.gradle→fake-store/build.gradle +12 −9 Original line number Diff line number Diff line /* * Copyright 2013-2015 µg Project Team * Copyright 2013-2015 microG Project Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. Loading @@ -16,20 +16,23 @@ buildscript { repositories { mavenCentral() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.1.0' classpath 'com.android.tools.build:gradle:1.3.0' } } apply plugin: 'com.android.application' repositories { mavenCentral() android { compileSdkVersion 23 buildToolsVersion "23.0.1" compileOptions { sourceCompatibility JavaVersion.VERSION_1_6 } } android { compileSdkVersion 21 buildToolsVersion "21.1.2" if (file('user.gradle').exists()) { apply from: 'user.gradle' }
src/main/AndroidManifest.xml→fake-store/src/main/AndroidManifest.xml +11 −2 Original line number Diff line number Diff line Loading @@ -16,9 +16,18 @@ --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.vending"> package="com.android.vending" android:versionCode="1" android:versionName="0.0.1"> <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="23" /> <uses-permission android:name="android.permission.FAKE_PACKAGE_SIGNATURE" /> <application android:icon="@drawable/icon" android:label="@string/app_name"> <application android:icon="@drawable/icon" android:label="@string/app_name"> <meta-data android:name="fake-signature" android:value="@string/fake_signature" /> </application> </manifest>