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

Commit 72bc0d4

Browse files
committed
Make FakeStore release
1 parent f72740b commit 72bc0d4

File tree

10 files changed

+49
-17
lines changed

10 files changed

+49
-17
lines changed

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1+
build/
2+
.gradle/
3+
user.gradle
4+
local.properties
15
*.iml
2-
gen
3-
bin
4-
build

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: android
2+
sudo: false
3+
git:
4+
submodules: false
5+
script:
6+
- export JAVA_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
7+
- export TERM=dumb
8+
- echo sdk.dir $ANDROID_HOME > local.properties
9+
- ./gradlew assembleDebug -x lint
10+
android:
11+
components:
12+
- extra-android-m2repository
13+
- build-tools-23.0.1
14+
- android-23
15+
16+

Android.mk

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ include $(CLEAR_VARS)
1717

1818
LOCAL_MODULE_TAGS := optional
1919

20-
LOCAL_SRC_FILES := $(call all-java-files-under, src)
20+
LOCAL_SRC_FILES := $(call all-java-files-under, fake-store/src/main/java)
21+
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/fake-store/src/main/res
22+
LOCAL_MANIFEST_FILE := fake-store/src/AndroidManifest.xml
2123
LOCAL_PACKAGE_NAME := FakeStore
2224
LOCAL_SDK_VERSION := current
23-
LOCAL_PRIVILEGED_MODULE := true
25+
LOCAL_PRIVILEGED_MODULE := false
2426

2527
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
2628

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2013-2015 µg Project Team
2+
* Copyright 2013-2015 microG Project Team
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,20 +16,23 @@
1616

1717
buildscript {
1818
repositories {
19-
mavenCentral()
19+
jcenter()
2020
}
2121
dependencies {
22-
classpath 'com.android.tools.build:gradle:1.1.0'
22+
classpath 'com.android.tools.build:gradle:1.3.0'
2323
}
2424
}
2525

2626
apply plugin: 'com.android.application'
2727

28-
repositories {
29-
mavenCentral()
28+
android {
29+
compileSdkVersion 23
30+
buildToolsVersion "23.0.1"
31+
compileOptions {
32+
sourceCompatibility JavaVersion.VERSION_1_6
33+
}
3034
}
3135

32-
android {
33-
compileSdkVersion 21
34-
buildToolsVersion "21.1.2"
35-
}
36+
if (file('user.gradle').exists()) {
37+
apply from: 'user.gradle'
38+
}
Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,18 @@
1616
-->
1717

1818
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19-
package="com.android.vending">
19+
package="com.android.vending"
20+
android:versionCode="1"
21+
android:versionName="0.0.1">
22+
23+
<uses-sdk
24+
android:minSdkVersion="10"
25+
android:targetSdkVersion="23" />
26+
2027
<uses-permission android:name="android.permission.FAKE_PACKAGE_SIGNATURE" />
21-
<application android:icon="@drawable/icon" android:label="@string/app_name">
28+
<application
29+
android:icon="@drawable/icon"
30+
android:label="@string/app_name">
2231
<meta-data android:name="fake-signature" android:value="@string/fake_signature" />
2332
</application>
2433
</manifest>
File renamed without changes.
File renamed without changes.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-all.zip

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include ':fake-store'

0 commit comments

Comments
 (0)