Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
Make FakeStore release
Browse files Browse the repository at this point in the history
  • Loading branch information
mar-v-in committed Oct 4, 2015
1 parent f72740b commit 72bc0d4
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 17 deletions.
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
build/
.gradle/
user.gradle
local.properties
*.iml
gen
bin
build
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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


6 changes: 4 additions & 2 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
21 changes: 12 additions & 9 deletions build.gradle → fake-store/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* 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.
Expand All @@ -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'
}
Original file line number Diff line number Diff line change
Expand Up @@ -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>
File renamed without changes
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-all.zip
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ':fake-store'

0 comments on commit 72bc0d4

Please sign in to comment.