Skip to content

Commit 4aade93

Browse files
committed
Init project
0 parents  commit 4aade93

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1389
-0
lines changed

.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copyright/profiles_settings.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 62 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations.xml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
apply plugin: 'com.android.application'
2+
apply plugin: 'com.neenbedankt.android-apt'
3+
apply plugin: 'me.tatarka.retrolambda'
4+
5+
android {
6+
compileSdkVersion 23
7+
buildToolsVersion "24.0.0 rc2"
8+
compileOptions {
9+
sourceCompatibility JavaVersion.VERSION_1_8
10+
targetCompatibility JavaVersion.VERSION_1_8
11+
}
12+
defaultConfig {
13+
applicationId "mobile.silong.mvvmcleanarchitecture"
14+
minSdkVersion 15
15+
targetSdkVersion 23
16+
versionCode 1
17+
versionName "1.0"
18+
}
19+
buildTypes {
20+
release {
21+
minifyEnabled false
22+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
23+
}
24+
}
25+
}
26+
retrolambda {
27+
jvmArgs '-noverify'
28+
}
29+
dependencies {
30+
compile fileTree(dir: 'libs', include: ['*.jar'])
31+
testCompile 'junit:junit:4.12'
32+
provided 'com.google.dagger:dagger-compiler:2.0.2'
33+
compile 'com.android.support:appcompat-v7:23.3.0'
34+
35+
compile(project(path: ':domain')) {
36+
transitive = true
37+
}
38+
compile(project(path: ':data')) {
39+
transitive = true
40+
}
41+
}

app/proguard-rules.pro

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in /Users/silong/Documents/Development/sdk/tools/proguard/proguard-android.txt
4+
# You can edit the include path and order by changing the proguardFiles
5+
# directive in build.gradle.
6+
#
7+
# For more details, see
8+
# http://developer.android.com/guide/developing/tools/proguard.html
9+
10+
# Add any project specific keep options here:
11+
12+
# If your project uses WebView with JS, uncomment the following
13+
# and specify the fully qualified class name to the JavaScript interface
14+
# class:
15+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16+
# public *;
17+
#}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package mobile.silong.mvvm;
2+
3+
import android.app.Application;
4+
import android.test.ApplicationTestCase;
5+
6+
/**
7+
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
8+
*/
9+
public class ApplicationTest extends ApplicationTestCase<Application> {
10+
11+
public ApplicationTest() {
12+
super(Application.class);
13+
}
14+
}

app/src/main/AndroidManifest.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="mobile.silong.mvvm">
3+
4+
<application android:allowBackup="true"
5+
android:icon="@mipmap/ic_launcher"
6+
android:label="@string/app_name"
7+
android:name=".App"
8+
android:supportsRtl="true"
9+
android:theme="@style/AppTheme">
10+
11+
</application>
12+
13+
</manifest>

0 commit comments

Comments
 (0)